# formatcol, removeNULL, tg, tgl, twolines, wcalc, pvalQ

# formatcol, removeNULL, tg, tgl, twolines, wcalc, pvalQ,

# asin2p, formatPT, meta-internal, logit2p, formatCI, rmSpace, xlab, z2cor,
# kentau, hypergeometric, linregcore, setOption, warnarg,
# hetcalc, chkarg, chklevel, chklogical, formatN, bylabel, asin2ir, Rb,
# is.prop, is.rate, is.log.effect, is.mean
importFrom("stats", "as.formula", "binom.test", "coef", "cor", "lm", "pchisq",

# is.installed.package, crtitle, catmeth, cathet,

"dev.off", "jpeg", "palette", "pdf", "png", "postscript",
importFrom("graphics", "abline", "arrows", "axis", "contour", "layout",
"lines", "mtext", "par", "plot", "plot.new", "plot.window",
"points", "polygon", "strwidth", "symbols", "text")
importFrom("stats", "as.formula", "dbeta", "dgamma", "dnorm", "fitted",
"lm", "pnorm", "qf", "qnorm", "quantile", "sd", "splinefun")

importFrom("stats", "cutree", "dist", "hclust", "kmeans", "var")

importFrom("stats", "model.matrix", "p.adjust", "pnorm", "pt", "qnorm")

importFrom("stats", "p.adjust", "pchisq", "pnorm", "qnorm", "rnbinom","rnorm")

importFrom("graphics", "abline", "arrows", "layout", "par", "plot",
importFrom("stats", "as.formula", "coef", "cov2cor", "deriv",
"na.omit", "pchisq", "pnorm", "printCoefmat", "qchisq",
"qnorm", "reshape", "var", "vcov", "weighted.mean", "uniroot")

"qnorm", "reshape", "var", "vcov", "weighted.mean", "uniroot",

"cov", "cor", "rWishart", "sd", "quantile")

"qnorm", "reshape", "var", "vcov", "weighted.mean")

importFrom("lavaan", "sem", "lavaanify", "inspect", "coef", "vcov")

if (!exists("BIC", where=asNamespace("stats"), inherits=FALSE)) {

#if (!exists("BIC", where=asNamespace("stats"), inherits=FALSE)) {

importFrom("stats", "coef", "complete.cases", "dist", "glm", "hclust", "rbinom", "rnorm", "rpois")

importFrom("stats", "coef", "complete.cases", "dist", "glm", "hclust",

importFrom("graphics", "abline", "axis", "box", "lines", "par", "points", "polygon", "text", "segments", "strheight")
importFrom("stats", "coefficients", "dnorm", "optim", "pchisq", "qnorm", "qt", "rnorm", "runif")