importFrom(graphics, lines, mtext, par, plot, matplot, matlines, abline, text, points)
export(fit_bd, fit_coal_cst, fit_coal_var, fit_env, fit_sgd, BICompare, spectR, JSDtree, JSDtree_cluster, sim_env_bd)

importFrom(stats, rnorm, runif, optim, integrate, smooth.spline, splinefun,
as.dist, bw.nrd0, dnorm, heatmap, kmeans, na.omit, pnorm, predict,
sd, var, reorder, rexp, cov2cor, rlnorm, density, fft, optimize, dist)
importFrom(graphics, lines, mtext, par, plot, matplot, matlines, abline, text, points, polygon)
importFrom(grDevices, dev.new, rainbow, terrain.colors, colorRampPalette, colors)
importFrom(utils, combn, tail, flush.console, read.table, write.table)
export(fit_bd, fit_coal_cst, fit_coal_var, fit_env, fit_sgd, BICompare, spectR, JSDtree, JSDtree_cluster, sim_env_bd, JSDt_cluster, spectR_t)
useDynLib(RPANDA, relToAbs, relToAbsSum, absToRel, absToRelSum, loglik)
export(plot_ClaDS_phylo, sim_ClaDS, fit_ClaDS0, plot_ClaDS0_chains, plot_ClaDS_chains,

importFrom(coda, mcmc.list, mcmc, gelman.diag, densplot)
importFrom(graphics, lines, mtext, par, plot, matplot,
matlines, abline, text, points, polygon, layout, title,
sd, var, reorder, rexp, cov2cor, rlnorm, density, fft, optimize, dist,

importFrom(mvMORPH, mvLL, pruning, mvSIM, GIC, mv.Precalc)

importFrom(mvMORPH, mvLL, pruning, mvSIM, GIC, mv.Precalc, ancestral)

export(RPalpha, RPChoose, RPChooseSS, RPEnsembleClass, RPGenerate, RPModel, RPParallel, Other.classifier)
importFrom(stats, ecdf, optimise, predict, rchisq, rnorm)

importFrom("grDevices", "col2rgb", "colors", "dev.cur", "dev.new",
"dev.off", "dev.set", "gray", "grey", "hcl", "hsv", "pdf",
importFrom("graphics", "abline", "contour", "image", "layout",
"locator", "par", "plot", "points", "rect", "segments",

importFrom("graphics", "abline", "axis", "image", "lines", "plot",
importFrom("stats", "cutree", "dbeta", "dist", "dnorm", "glm",
"hclust", "optim", "pchisq", "quantile", "quasibinomial",

"mtext", "par", "points", "rect", "text", "title")
importFrom("stats", "approx", "cor", "lm", "mad", "median",
"medpolish", "nls", "nls.control", "predict", "pt",
importFrom("imager", "load.image", "imappend", "imresize", "imrotate", "add.color", "as.cimg", "save.image")