# Exported functions
export(thresTH2, thres2, secondDer2, plotCostROC, SS, thresTH3, thres3, secondDer3, diagnostic)

# Imported functions
importFrom(MASS, fitdistr)
importFrom(numDeriv, grad)
importFrom(pROC, roc)
importFrom(pROC, smooth)
importFrom(graphics, abline)
importFrom(stats, binom.test)
importFrom(stats, density)
importFrom(stats, deriv)
importFrom(graphics, lines)
importFrom(stats, median)
importFrom(stats, na.omit)
importFrom(stats, nlm)
importFrom(graphics, par)
importFrom(graphics, plot)
importFrom(stats, pnorm)
importFrom(graphics, points)
importFrom(stats, prop.test)
importFrom(stats, qnorm)
importFrom(stats, quantile)
importFrom(stats, sd)
importFrom(stats, uniroot)
importFrom(stats, var)
importFrom(ks, kde)
importFrom(stats, predict)
importFrom(stats, loess)


# S3 methods
S3method(print, "thresTH2")
S3method(print, "thres2")
S3method(print, "SS")
S3method(plot, "thres2")
S3method(lines, "thres2")
S3method(print, "thresTH3")
S3method(print, "thres3")
S3method(plot, "thres3")
S3method(lines, "thres3")
