importFrom("stats", "coef", "lm.fit", "median", "runif", "sd","setNames")

importFrom("stats", "coef", "lm.fit", "median", "runif", "sd","setNames","predict")

importFrom("graphics", "axis", "contour", "filled.contour", "title")

importFrom("stats", "convolve", "fft", "optim", "rnorm")

importFrom("stats", "cor", "promax", "reorder", "rnorm", "runif", "varimax")

importFrom("stats", "cor", "promax", "quantile", "reorder", "rnorm", "runif", "varimax")

importFrom("stats", "cor", "dbeta", "promax", "quantile", "reorder", "rnorm", "runif", "varimax")

exportMethods(as.list, plot, summary, update, "[" )
export(MTP, as.list, mt.maxT, mt.minP, mt.plot, mt.rawp2adjp,
mt.teststat, mt.teststat.num.denum, meanX, diffmeanX, FX, blockFX,
twowayFX, lmX, lmY, coxY, get.Tn, boot.null, boot.resample,
center.scale, fwer2gfwer, fwer2tppfp, fwer2fdr, get.index,
ss.maxT, ss.minP, sd.maxT, sd.minP, wapply)

exportMethods(as.list, plot, summary, update, EBupdate, "[")
export(MTP, EBMTP, as.list, mt.maxT, mt.minP, mt.plot, mt.rawp2adjp,
center.only, center.scale, quant.trans, fwer2gfwer, fwer2tppfp,
fwer2fdr, get.index, ss.maxT, ss.minP, sd.maxT, sd.minP, wapply,
corr.Tn, corr.null, IC.Cor.NA, IC.CorXW.NA, insert.NA, diffs.1.N,
marg.samp, tQuantTrans, G.VS, ABH.h0, dens.est, Hsets, VScount,

export(paradjp, pargateadjp, pvaladjp, pvalci, parci)

exportPattern("^[[:alpha:]]+")
import(car, pdist, pls, gplots, mvtnorm, robustbase, gtools, bitops, caTools, pcaPP, rrcov)

exportPattern("^[[:alpha:]]+")
import(car, pdist, pls, gplots, mvtnorm, robustbase, gtools, bitops, caTools, pcaPP, rrcov)

# functions written by Jose Gama and Glenn Davis
importFrom(stats, approx, spline, splinefun, predict, residuals, formula, lm, polym, coef )
importFrom(graphics, abline, grid, lines, polygon, par, plot,
plot.new, plot.window, points, rect, segments, text, title)
importFrom(utils, data, read.table, str, flush.console, object.size )

# functions by Jose Gama, and used in package 'colorscience'

importFrom(utils, data, read.table, str, flush.console, object.size, combn )