importFrom("graphics", abline, plot, points,image, legend, lines, pairs)
#user version of the MBBEFD distribution
export(dmbbefd, pmbbefd, qmbbefd, rmbbefd, ecmbbefd, mmbbefd, tlmbbefd)
export(dMBBEFD, pMBBEFD, qMBBEFD, rMBBEFD, ecMBBEFD, mMBBEFD, tlMBBEFD)
export(dmbbefd1, dmbbefd2, dMBBEFD1, dMBBEFD2, dgbeta1)
#C++ version of the MBBEFD distribution (not exported)
#export(mbbefdExposure, rmbbefdC, qmbbefdC, dmbbefd2, pmbbefd2, dG) #deprecated functions
#R version of the MBBEFD distribution (no longer exported)
#export(dmbbefdR, pmbbefdR, qmbbefdR, rmbbefdR, ecmbbefdR, mmbbefdR, tlmbbefdR)
#export(dMBBEFDR, pMBBEFDR, qMBBEFDR, rMBBEFDR, ecMBBEFDR, mMBBEFDR, tlMBBEFDR)
rbinom, runif, constrOptim, cov2cor, median, optim,
importFrom("actuar", munif, levunif, mbeta, levbeta) #d,p,q,r in base R
importFrom("gsl", dilog) #dilogarithm function used variance
export(dgbeta, pgbeta, qgbeta, rgbeta, ecgbeta, mgbeta)
export(doifun, poifun, qoifun, roifun, ecoifun, moifun, tloifun)
export(doiunif, poiunif, qoiunif, roiunif, ecoiunif, moiunif, tloiunif)
export(doibeta, poibeta, qoibeta, roibeta, ecoibeta, moibeta, tloibeta)
export(doistpareto, poistpareto, qoistpareto, roistpareto, ecoistpareto, moistpareto, tloistpareto)
export(doigbeta, poigbeta, qoigbeta, roigbeta, ecoigbeta, moigbeta, tloigbeta)
#eecf class for empirical exposure curve function
#new generic function for DR class similar to cdfcomp
importFrom("alabama", constrOptim.nl) #only for MBBEFD
export(fitDR) #fitDR class inheriting from fitdist class
export(bootDR) #bootDR class inheriting from bootdist class

export("cw.multiblock", "cw.predict", "cw.tenfold", "mbpcaiv.fast", "mbpls.fast", "mbregular")
importFrom("ade4", dudi.pca, ktab.data.frame, scalewt, col.names)
importFrom("doParallel", registerDoParallel)
importFrom("parallel", detectCores, clusterSetRNGStream, makeCluster, stopCluster)
importFrom("foreach", foreach, "%dopar%")
importFrom("kknn", train.kknn, kknn)
importFrom("stats", kmeans, lm.wfit, runif, sd)

# Generated by roxygen2: do not edit by hand
export(bend)