export(curfit, percur, concon, integral, insert, curfit.free.knot,
##       jupp, juppinv, jupp.prior, jupp.naive, extend.prior)
importFrom(stats, coef, knots, residuals, fitted,
deviance, predict, deriv, profile, confint)

export(curfit, percur, concon, integral.dierckx, insert,

importFrom("graphics", "abline", "box", "filled.contour", "hist",
importFrom("stats", "acf", "cor", "dnorm", "na.omit", "optim",

"lines", "par", "persp", "plot",  "axis","legend",

"lines", "par", "persp", "plot",  "axis")

importFrom("graphics", "contour", "lines", "plot", "points")
importFrom("stats", "aggregate", "coef", "cor", "dist", "dnorm",
"kmeans", "lm", "optim", "optimize", "pchisq", "pf",
"pnorm", "qchisq", "quantile", "rbeta", "rnorm", "runif",

"sd", "uniroot", "qnorm", "mahalanobis", "cov")

"sd", "uniroot", "qnorm", "mahalanobis", "cov", "model.matrix", "nlm")

importFrom("stats", "aggregate", "coef", "cor", "dist", "dnorm", "kmeans",
"lm", "optim", "optimize", "pchisq", "pf", "pnorm", "qchisq",
"quantile", "rbeta", "rnorm", "runif", "sd", "uniroot", "qnorm",
"mahalanobis", "cov", "model.matrix", "nlm", "integrate")

"cov", "model.matrix", "nlm", "integrate", "lm.fit", "rbinom")
importFrom("Rfast", colVars, mahala, colmeans, colsums)

importFrom("graphics", "contour", "lines", "plot", "points", "abline")
importFrom("Rfast", colVars, mahala, colmeans, colsums, rowmeans, rowsums, sort_mat, colMedians)

importFrom("Rfast", colVars, mahala, colmeans, colsums, rowmeans, rowsums,

importFrom("graphics", contour, lines, plot, points, abline)
importFrom("stats", aggregate, coef, cor, dnorm, kmeans,
.lm.fit, optim, optimize, pchisq, pf, pnorm, qchisq,
quantile, rbeta, rnorm, runif, sd, uniroot, qnorm,
cov, model.matrix, nlm, integrate, rbinom)

sort_mat, colMedians, rowMins, rowMaxs, colMaxs, rvmf, vmf.mle,
rvonmises, acg.mle, racg, vm.mle, iag.mle)

rvonmises, acg.mle, racg, vm.mle, iag.mle, colhameans, multivmf.mle,

Sort, spml.reg, spml.mle, mediandir, circlin.cor, Table, colnth,

wrapcauchy.mle, colOrder, group.mean, group.var ,dirknn)