importFrom("grDevices", "rgb", "dev.flush", "dev.new", "dev.list", "dev.off")
importFrom("stats", "complete.cases", "sd", "spline","coef", "model.matrix", "pnorm", "pt", "residuals", "hatvalues", "AIC", "BIC", "family")

#Used in /tests/  not necessary to import

importFrom("Rgraphviz", "layoutGraph", "renderGraph", "plot", "buildEdgeList")

## this is for the handling of the graph classes passed to Rgraphviz.

importFrom("methods", "initialize", "new", "slot")   ## this is for the handling of the graph classes passed to Rgraphviz.
importFrom("stats", "fitted.values") # to avoide error  plot.abnFit: no visible binding for global variable ‘fitted.values’

importFrom("graphics", "abline", "axis", "box", "legend", "lines","mtext", "par", "plot", "plot.new", "points", "text")
importFrom("stats", "as.formula", "coef", "cov", "na.pass", "predict", "rnorm", "runif", "smooth.spline")

importFrom("graphics", "abline", "axis", "barplot", "hist", "layout",
"legend", "lines", "par", "plot", "polygon", "segments")
importFrom("stats", "dexp", "qbeta", "qnbinom", "quantile", "rbeta",

export(PTBn, PTBnc, PTBns, PTBnbr, PTBnbrr, PTBnsbr, PTBnsbrr)
export(PTBu, PTBuc, PTBus, PTBubr, PTBubrr, PTBusbr, PTBusbrr)

export(perturb )  # main  routine for running perturbations
export(PTBi, PTBms, PTBmsb, PTBmsbr)  # noise functions for vections
export(PTBmu.gen, PTBmn.gen)  #1.04 PTB multiple times

export(sensitivity)  # main  routine for running perturbations

importFrom("graphics", "axTicks", "axis", "legend", "lines", "mtext", "par", "plot", "boxplot")
importFrom("stats", "dbinom", "dnorm", "model.matrix", "pbeta", "pnorm", "pt", "qbeta", "rbeta", "rbinom", "rnorm", "rpois", "runif", "sd", "deriv", "var", "dpois", "terms", "weighted.mean")
export(ace, acephase1, acephase2, aceglm, acenlm, pace, paceglm, pacenlm, utilcomp18bad, optdescomp18bad, utilcomp15bad, optdescomp15bad, optdescomp15sig, utilcomp15sig, utilcomp15sigDRS, optdescomp15sigDRS, utillrbad, optdeslrbad, utillrsig, inideslrsig, optdeslrsig, utillrbaa, optdeslrbaa, utillrnsel, inideslrnsel, optdeslrnsel, utilhlrbad, optdeshlrbad, utilhlrsig, inideshlrsig, optdeshlrsig, utilhlrbaa, optdeshlrbaa, utilhlrnsel, inideshlrnsel, optdeshlrnsel, utilbeetle, optdesbeetle, utillinmod, optdeslinmod, utilitynlm, utilityglm, assess)