.datagenCubic, .datagenSine, .datagenWedge, .datagenCross, .datagenSpiral,
.datagen4Circles, .datagenHeavisine, .datagenDoppler, .datagen5Clouds, .datagenBex,

importFrom("graphics", "arrows", "axis", "barplot", "hist", "legend",
"lines", "mtext", "par", "plot", "polygon", "segments",
importFrom("stats", "AIC", "aggregate", "as.formula", "binomial",
"coef", "cor", "dbinom", "deriv", "df.residual",
"dmultinom", "dnbinom", "dnorm", "glm", "lm", "logLik",
"na.omit", "numericDeriv", "optim", "pchisq", "pnorm", "qf",
"qnorm", "qt", "quantile", "residuals", "rnbinom", "rnorm",
"runif", "sd", "vcov", "cov", "cov2cor", "pt")

"coef", "cor", "dbeta", "dbinom", "deriv", "df.residual",

"runif", "sd", "vcov", "cov", "cov2cor", "pt", "var")

"lines", "mtext", "par", "plot", "polygon", "segments", "points",
"xspline", "xyinch", "strheight", "text", "locator")
"dmultinom", "dnbinom", "glm", "lm", "logLik",
"na.omit", "numericDeriv", "optim", "pchisq", "qf",
"runif", "sd", "vcov", "cov", "cov2cor", "pt", "var",

importFrom("stats", "AIC", "formula", "lm", "logLik", "pchisq",

importFrom("stats", "as.formula", "lm", "glm", "poisson", "quasipoisson", "logLik")

importFrom("stats", "as.formula", "binomial", "cor", "glm", "logLik","pchisq")

importFrom("stats", "as.formula", "binomial", "cor", "lm", "glm", "poisson", "quasipoisson", "logLik","pchisq")

importFrom("stats", "cor", "cutree", "fitted", "lm", "na.omit", "pf", "var")

importFrom("stats", "cor", "cutree", "dist", "fitted", "lm", "na.omit", "pf", "var")

export(RFlda, RFlda.data.frame, predict.RFlda, SelectV, DACrossVal, ForbSigap, ForbSigap1, RepLOptim)

exportPattern("RFlda.*", "*.RFlda", "*.SigFq", "*.SigFqInv", "LeftMult.*", "RightMult.*")
export(SelectV, DACrossVal, FrobSigAp, FrobSigAp1, ForbSigap, ForbSigap1)

useDynLib(HiDimDA)
exportClasses(Dlda, Mlda, Slda, RFlda, DMat, ShrnkMat, ShrnkMatInv, SigFq, SigFqInv, ldaRes)
exportMethods(Dlda, Mlda, Slda, RFlda, LeftMult, RightMult, CovE, ICovE)
export(DMat, ShrnkMat, ShrnkMatInv, SigFq, SigFqInv, MldaInvE, ShrnkSigE, SelectV, DACrossVal, FrobSigAp, FrobSigAp1, ForbSigap, ForbSigap1)
exportPattern("Dlda.*", "Mlda.*", "Slda.*", "RFlda.*", "LeftMult.*", "RightMult.*", "CovE.*", "ICovE.*",
"*.canldaRes", "*.clldaRes", "*.ScanldaRes", "*.SclldaRes", "*.RFcanldaRes", "*.RFclldaRes",
"*.Dlda", "*.RFlda", "*.DMat", "*.ShrnkMat", "*.ShrnkMatInv", "*.SigFq", "*.SigFqInv")