import(graphics, grDevices, stats, utils, coneproj)

importFrom("stats", "as.formula", "dist", "fisher.test", "ks.test",
"lm", "median", "pf", "pgamma", "prop.test",
"qgamma", "rchisq", "residuals", "rnorm", "sd",

importFrom("graphics", "lines", "plot", "points", "text")

importFrom("graphics", "axis", "box", "contour", "pairs", "par",
importFrom("stats", "dnorm", "kmeans", "mahalanobis", "optimize",

importFrom("graphics", "abline", "axis", "box", "curve", "hist", "legend", "mtext", "par", "plot", "plot.new", "plot.window",
importFrom("stats", "dnorm", "dunif", "ecdf", "plot.ecdf", "pnorm","punif", "rbinom", "rchisq", "rnorm", "runif")
# The bringToTop() function in only available in the (Microsoft) Windows
if (.Platform$OS.type == "windows") importFrom("grDevices", "bringToTop")

importFrom("stats", "cor", "rlnorm", "rnorm", "runif")

importFrom("ggplot2", aes_string, coord_fixed, element_blank, element_text, fortify, ggplot, geom_point, geom_polygon, scale_colour_manual, scale_shape_manual, theme, theme_bw)
importFrom("raster", as.matrix, crop, extent, raster, rasterize, res)
importFrom("stats", binom.test, complete.cases, IQR, mad, quantile, median)
importFrom("sp", over, proj4string, "proj4string<-", SpatialPoints)

importFrom("raster", as.matrix, crop, extent, plot, raster, rasterize, res)
importFrom("stats", aggregate, cov, dist, binom.test, complete.cases, IQR, mad, quantile, median, runif)

exportPattern("^[[:alpha:]]+")
importFrom("graphics", "abline", "text", "plot", "lines")
importFrom("stats", "cor", "dnorm", "pnorm", "qnorm", "rnorm", "runif", "sd",
"ts.plot", "uniroot")

exportPattern("^[[:alpha:]]+")
importFrom("graphics", "abline", "text", "plot", "lines")
importFrom("stats", "cor", "dnorm", "pnorm", "qnorm", "rnorm", "runif", "sd",
"ts.plot", "uniroot", "dbinom", "pbinom","qbinom", "rbinom")

exportPattern("^[[:alpha:]]+")
importFrom("graphics", "abline", "text", "plot", "lines", "axis", "par")
importFrom("stats", "cor", "dnorm", "pnorm", "qnorm", "rnorm", "runif", "sd",
"ts.plot", "uniroot", "dbinom", "pbinom","qbinom", "rbinom", "nlm")