importFrom("stats", "dnorm", "rgamma", "rnorm", "runif", "lm", "coef", "sd")

export(hurdle, odTest, predprob, vuong, zeroinfl)

export(hurdle, odTest, predprob, vuong, zeroinfl, ntable, betaHPD)

export(densigamma, pigamma, qigamma, rigamma, igammaHDR)

export("densigamma", "pigamma", "qigamma", "rigamma", "igammaHDR")

importFrom("graphics", "abline", "axis", "layout", "legend", "lines",
"mtext", "pairs", "par", "plot", "points", "polygon", "rug",
importFrom("stats", ".getXlevels", "AIC", "binomial", "coef", "cor",
"dbeta", "delete.response", "density", "dnbinom", "dpois",
"family", "glm", "glm.fit", "lm", "loess", "logLik",
"model.weights", "na.omit", "na.pass", "optim", "optimize",
"pbeta", "pchisq", "pgamma", "pnbinom", "pnorm", "poisson",
"ppois", "predict", "printCoefmat", "qbeta", "qchisq",
"qgamma", "quantile", "residuals", "rgamma", "rnorm", "sd",

"nobs", "optim", "optimize", "pbeta", "pchisq", "pgamma",
"pnbinom", "pnorm", "poisson", "ppois", "predict",
"printCoefmat", "qbeta", "qchisq", "qgamma", "quantile",
"residuals", "rgamma", "rnorm", "sd", "terms", "uniroot",

# Required packages: sensitivity (various functions), Hmisc and ks (single function from each)
# Loads the correlation correction code from C
# Exporting the replacement method for plotting pcc results
export(get.data, get.results, get.N, get.ninputs, get.noutputs, get.repetitions)
export(corPlot, LHScorcorr, LHS, plotecdf, plotprcc, sbma, target.sbma, pic, cv, plotcv)

export(LHScorcorr, LHS, plotecdf, plotprcc, plotscatter, sbma, target.sbma, pic, cv, plotcv)

export(tell, LHScorcorr, LHS, plotecdf, plotprcc, plotscatter, sbma, target.sbma, pic, cv, plotcv, machinefile)

export(tell, LHScorcorr, LHS, PLUE, plotecdf, plotprcc, plotscatter, sbma, target.sbma, pic, cv, plotcv, machinefile)

useDynLib(pse, .registration = "TRUE", .fixes = "C_")

#export(psrank, psrank.numeric, psrank.formula, hettmansperger_norton_test, hettmansperger_norton_test.numeric, hettmansperger_norton_test.formula)

importFrom("dplyr", group_by, sample_n, n, group_by_all,
arrange, count, desc, select, bind_rows, mutate_if,
importFrom("purrr", is_empty, map_int, map, transpose,