useDynLib(scalablebayesm, .registration=TRUE)
importFrom(bayesm, rmixture, createX, rhierLinearMixture, rhierMnlRwMixture)
importFrom(Rcpp, evalCpp)
importFrom(stats, dnorm, optim, quantile, rnorm, runif, var)

## export all regularly named functions
## (but allow for private functions whose name starts with a dot).name <- function(...)
#exportPattern("^[[:alpha:]]+")
export(rhierLinearMixtureParallel, rhierMnlRwMixtureParallel,
       rhierLinearDPParallel, rhierMnlDPParallel, 
       rheteroMnlIndepMetrop, rheteroLinearIndepMetrop,
       s_max, sample_data, drawPosteriorParallel, combine_draws, drawMixture, partition_data, hello)

