importFrom("stats", "cov", "dist", "predict", "runif")

useDynLib("cclust", .registration = TRUE, .fixes = "R_")

importFrom("graphics", "axis", "lines", "par", "plot",
importFrom("grDevices", "dev.new", "dev.off", "grey", "pdf")

importFrom("stats", "coef", "deviance", "integrate", "optim", "pnorm",

importFrom("stats", "mad", "median", "na.omit", "pchisq", "qchisq","weighted.mean")

importFrom("stats", "mad", "median", "na.omit", "pchisq", "qchisq","weighted.mean", "cov", "mahalanobis", "qnorm", "sd", "cov.wt")
importFrom("graphics", "abline", "plot", "points", "barplot")

importFrom("stats", "mad", "median", "na.omit", "pchisq", "qchisq","weighted.mean", "cov", "mahalanobis", "qnorm", "sd", "cov.wt", "optimize", "cov2cor","rnorm", "runif")

importFrom("graphics", "abline", "plot", "points", "barplot", "lines", "text", "title")

importFrom(grDevices, nclass.scott, rgb,   nclass.Sturges, nclass.FD, xy.coords)
importFrom(stats, na.omit, runif, dist, terms, predict, median, weighted.mean, var, pnorm, update, coef, fitted, t.test, xtabs, logLik, deviance, pchisq, rmultinom, dpois, chisq.test, model.frame, model.matrix, as.formula, qnorm, glm, binomial, sd, cov, printCoefmat )
importFrom(graphics, hist, par, plot, box, axis,  points, text,  identify, lines, mtext, abline)

importFrom("stats", "cov.wt", "lm", "optim", "predict", "start")

importFrom("rgl", "qmesh3d", "rgl.open", "rgl.bg", "plot3d", "material3d",
importFrom("grDevices", "col2rgb", "dev.cur", "dev.list", "dev.new",
importFrom("graphics", "axis", "close.screen", "identify", "image",
"layout", "legend", "lines", "locator", "par", "plot",
importFrom("stats", "dist", "loess", "predict", "rnorm", "runif")

#useDynLib("mgcv", .registration = TRUE, .fixes = "C_")

importFrom("stats", "approx", "coef", "ecdf", "lm", "model.extract",

export(ALPHA, METHOD, basis_random, basis_nearby, pp.2, pp.3, evaluator.2, evaluator.3, caller, search_geodesic)
import(trust,randtoolbox)

export(basis_random, basis_nearby, pp, evaluator, caller, search_geodesic, ecdf.indices)
importFrom(stats, integrate, median, optimize, pnorm, princomp, rnorm, uniroot)
importFrom(randtoolbox, sobol)
import(trust)