importFrom(ggplot2, ggplot, theme, theme_bw, element_blank, aes, geom_line,stat_contour, facet_wrap, guides)

importFrom(ggplot2, ggplot, theme, theme_bw, element_blank, aes, geom_line,stat_contour, facet_wrap, guides, geom_point, geom_histogram)
importFrom(stats, as.dist, cutree, hclust, rWishart, rgamma, rnorm, aggregate, quantile, uniroot)

importFrom(stats, as.dist, cutree, hclust, rWishart, rgamma, rnorm, aggregate, quantile, uniroot, approx)

importFrom("stats", "integrate", "pbeta", "pbinom", "qbeta", "runif")

importFrom("stats", "pbeta", "pbinom", "qbeta", "rbinom", "runif")

importFrom("graphics", "abline", "arrows", "barplot", "legend",
"mtext", "par", "plot", "points", "rect", "segments","text")

importFrom("graphics", "contour", "lines", "par", "points", "polygon","text")

import(RANN, parallel, stats, rdist, matrixStats, pbapply)

export(BRugsFit, bugsData, bugsInits, buildMCMC, currentValues,

importFrom(utils, compareVersion, maintainer, packageDescription, readRegistry)

if(tools:::.OStype() == "windows") importFrom(utils, readRegistry)

importFrom(utils, compareVersion, maintainer, packageDescription, browseURL, read.table)
importFrom("stats", "acf", "density", "quantile", "sd")

exportPattern(BSGS, BSGS.Simple, CompWiseGibbsSimple, CompWiseGibbsSMP, Crisis2008, Crisis2008BalancedData)

export(bsgw, bsgw.crossval, bsgw.crossval.wrapper, bsgw.generate.folds, bsgw.generate.folds.eventbalanced, bsgw.control)
importFrom("graphics", "abline", "hist", "legend", "lines", "par",

importFrom("stats", "rnorm", "cov", "qnorm", "runif", "sd")

importFrom("stats", "dnorm", "rnorm", "runif", "sd", "ts.plot")

importFrom("stats", "acf", "convolve", "integrate", "optim", "rnorm", "qnorm")

importFrom(JADE, JADE, k_JADE, FOBI, SOBI)

ASCOV_FastICAsym_est, ASCOV_FOBI, ASCOV_FOBI_est, ASCOV_JADE, ASCOV_JADE_est, ASCOV_SOBI,
ASCOV_SOBI_est, ASCOV_SOBI_estN, ASCOV_SOBIdefl, ASCOV_SOBIdefl_est, ASCOV_SOBIdefl_estN,CRB)

export(alphas, ASCOV_FastICAdefl, ASCOV_FastICAdefl_est, ASCOV_FastICAsym, ASCOV_FastICAsym_est, ASCOV_FastICAsym2, ASCOV_FastICAsym2_est, ASCOV_FOBI, ASCOV_FOBI_est, ASCOV_JADE, ASCOV_JADE_est, ASCOV_SOBI, ASCOV_SOBI_est, ASCOV_SOBI_estN, ASCOV_SOBIdefl, ASCOV_SOBIdefl_est, ASCOV_SOBIdefl_estN, CRB)