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

plotPost, plotAll, plotPostPred, plotAreaInROPE, postPriorOverlap,

importFrom("graphics", "par", "points", "polygon", "plot")

importFrom("graphics", "abline", "axis", "plot", "rect")

importFrom(stats, coef, lsfit, ls.print, model.frame, model.matrix, na.pass,
useDynLib(BGData, .registration = TRUE, .fixes = "C_")

importFrom("stats", "cor", "dbeta", "dchisq", "dexp", "dgamma",
"dnorm", "model.frame", "model.matrix", "pnorm", "qnorm",
"rbeta", "rbinom", "rchisq", "rgamma", "rnorm", "runif",

#Actually we are not using S4 methods...

importFrom("graphics", "hist", "legend", "lines", "mtext", "par",
importFrom("stats", "acf", "density", "dnorm", "median",
"quantile", "rbeta", "rgamma", "rnorm", "runif",

importFrom("graphics", "axis", "lines", "mtext", "par", "plot",
"points", "segments", "strheight", "strwidth", "text")
importFrom("stats", "anova", "as.formula", "coef", "lm",
"model.tables", "pf", "pt", "resid", "var")

importFrom("stats", "anova", "lm", "nlminb", "qnorm", "rbinom", "rnorm")

export("glmcoef", "waveletcoef", "hyperparamest", "postmixprob", "postwaveletcoef", "substituteWaveletCoef", "postglmcoef", "BHMSMA", "postsamples", "postgroupglmcoef", "readfmridata")

importFrom("stats", "chisq.test", "fisher.test", "na.omit", "pchisq",

importFrom("utils", "data", "combn", "download.file", "packageVersion",

importFrom("stats", "chisq.test", "fisher.test", "na.omit", "pchisq", "qnorm", "xtabs")
importFrom("utils", "data", "combn", "download.file", "packageVersion", "read.table", "write.table","write.csv")

importFrom("grDevices", "dev.off", "jpeg", "pdf", "png", "x11")
importFrom("graphics", "abline", "axis", "legend", "mtext", "par",
importFrom("stats", "ccf", "cor.test", "optimize", "sd")

importFrom("stats", "ccf", "cor.test", "optimize", "sd", "var", "na.omit")

#  to save loading time, we don't do this:
#    importFrom (RJSONIO, fromJSON, toJSON)

importFrom("httr","content", "GET", "upload_file", "POST", "config")
importFrom("graphics", "legend", "lines", "par", "plot")
importFrom("stats", "SSmicmen", "lm", "median", "na.omit", "quantile", "rnorm", "sd")
importFrom("utils", "data", "download.file", "unzip", "write.table")