importFrom("stats", "quantile", "rchisq", "rnorm", "runif", "var", "qnorm")

import(MASS, msm, mvtnorm, batchmeans, abind, plyr)
"rbinom", "rgamma", "rnorm", "runif", "terms.formula",

importFrom("stats", "approxfun", "density", "integrate", "nlm","runif", "sd", "uniroot")

importFrom("stats", "as.formula", "coef", "delete.response", "dnorm",

useDynLib(BayesSAE)
export(BayesSAE, link.model, model.compare, samp.model, theta.HB, y.rep)

importFrom("graphics", "abline", "contour", "image", "lines", "par","plot", "title")

# Tell R to load the shared object <BayesVarSel.so>.

export(Bvs, PBvs, GibbsBvs, plotBvs, BayesFactor)

importFrom("graphics", "axis", "barplot", "image", "layout", "par","plot")

importFrom("graphics", "axis", "barplot", "image", "layout", "par","plot", "hist", "text")
importFrom("stats", "as.formula", "lm", "rbinom","runif","density", "quantile")
export(Bvs, PBvs, GibbsBvs, plotBvs, Btest, BMAcoeff,predictBvs,Jointness,histBMA)

importFrom(graphics, axis, barplot, image, layout, par,plot, hist, text)
importFrom(stats, as.formula, lm, rbinom,runif,density, quantile)

## spatial packages imports ********************
## not necessary as shapefiles does not have a namespace:
## importFrom(shapefiles,                  # package shapefiles
## imports for MCMC handling ********************

akimaPermit,                     # allow usage of akima despite its licence
akimaPermitStatus)               # that restricts use to non-commercial purposes

"akimaPermit",                     ## allow usage of akima despite its licence
importFrom("graphics", "axis", "box", "contour", "image", "lines",
"par", "persp", "plot", "polygon", "text")

importFrom("stats", "D", "complete.cases", "pgamma", "quantile", "sd")

importFrom("stats", "as.ts", "coef", "dgamma", "printCoefmat",

importFrom("graphics", "axis", "box", "boxplot", "boxplot.matrix","hist", "legend", "lines", "matlines", "matplot", "par","persp", "plot")
importFrom("stats", "aov", "mad", "median", "medpolish", "quantile",

importFrom("graphics", "grid", "legend", "lines", "mtext", "par",
importFrom("stats", "approx", "dbinom", "dnorm", "dt", "dunif",