importFrom("stats", "complete.cases", "dnorm", "model.frame", "var")

importFrom(stats, complete.cases, dnorm, model.frame, var)

importFrom(methods, setRefClass, setClass, callNextMethod, validObject)

useDynLib(dbarts, .registration = TRUE, .fixes = "C_")
importFrom(methods, setRefClass, setClass, callNextMethod, validObject, is, new)
importFrom(stats, model.frame, model.offset, model.response, model.weights, is.empty.model, terms, na.omit, complete.cases)
importFrom(graphics, abline, contour, image, lines, par, plot, title, strheight, text)

importFrom(methods, setRefClass, setClass, setClassUnion, callNextMethod, validObject, is, new, setValidity, setMethod)

importFrom(parallel, makeCluster, clusterExport, clusterEvalQ, clusterCall, stopCluster)
importFrom(stats, sd, rnorm, rexp, runif, optim, optimHess, dnorm)

importFrom(stats, sd, rnorm, rexp, runif, rbinom, optim, optimHess, dnorm)

importFrom(parallel, makeCluster, clusterExport, clusterEvalQ, clusterMap, stopCluster)

importFrom(methods, setRefClass, setClass, setClassUnion, callNextMethod, validObject, new, setValidity, setMethod)

importFrom(stats, sd, rnorm, rexp, runif, optim, dnorm)

importFrom("stats", "runif", "var", "optim", "simulate",
"coef", "lm", "optimHess", "vcov", "logLik","pchisq")
importFrom("graphics", "axis", "legend", "lines", "contour", "persp",

importFrom("graphics", "axis", "legend", "lines", "contour", "persp")

importFrom("stats", "approx", "bw.SJ", "bw.nrd0", "density", "integrate", "median", "pchisq", "quantile")

importFrom("graphics", "plot", "par", "segments", "lines", "polygon")

importFrom("graphics", "plot", "par", "segments", "lines", "polygon", "text")
importFrom("stats", "dist", "hclust", "dendrapply", "as.dendrogram",

importFrom("graphics", "plot", "points", "par", "segments",

importFrom("graphics", "plot", "points", "par", "segments", "lines", "polygon", "text")

importFrom("stats", "as.dist", "formula", "gaussian", "lowess",

import("grDevices", "graphics", "methods", "oro.nifti", "utils")

import("grDevices", "graphics", "methods", "oro.nifti", "parallel", "utils")