importFrom("grDevices", "col2rgb", "palette", "rgb", "gray")

importFrom(parallel, makePSOCKcluster, clusterEvalQ, clusterApplyLB, stopCluster)

importFrom("graphics", "abline", "boxplot", "hist", "matplot", "par",
importFrom("stats", "as.formula", "kmeans", "quantile", "runif",

importFrom("stats", "as.formula", "kmeans", "quantile", "runif", "sd", "terms")

importFrom(graphics, "abline", "boxplot", "hist", "matplot", "par", "pie", "plot", "points")
importFrom(stats, "as.formula", "kmeans", "quantile", "runif", "sd", "simulate", "terms")

importFrom(stats, median, qlogis, rbinom, glm, update)
importFrom(parallel, makePSOCKcluster, clusterEvalQ, clusterApplyLB, stopCluster, clusterApply, mclapply, makeCluster)

importFrom("stats", "anova", "as.formula", "deriv", "lm", "qf",

importFrom("stats", "contrasts", "dnorm", "glm", "glm.fit",
"model.response", "optim", "pchisq", "pnorm", "poisson",
"qnorm", "quantile", "rpois", "var", "vcov")

export("delta.s.estimate.w", "hetsurr.fun", "hetsurr.plot", "kf", "mu0wy", "mu10", "mu1swy",

import(grid)    ## too many things from grid
import(lattice) ## too many things from lattice
#importFrom(colorspace, "HSV", "LUV", "coords", "hex")
## document those; the method aliases are there:
##       "getFig", "getMargins", "getPlt", "getXscale", "getYscale",
"hdiffplot", # but not all the helpers in ./R/hdiffplot.R
"BTC", "BTY", "LinGray", "LinOCS", "heat.ob", "magent","plinrain",
## S3 methods for lattice-type functions
# could/should we keep this 'private' (?) :
## undocumented: "getFig", "getMargins", "getPlt", "getXscale", "getYscale",

importFrom(grDevices, col2rgb, gray, grey, hsv, rgb, rgb2hsv,
importFrom(stats, coef, density, IQR, loess, loess.control, median,

export(hglasso, hcov, HubNetwork, plot.hglasso, image.hglasso, summary.hglasso, plot.hcov, image.hcov, summary.hcov)

export(hglasso, hcov, hbn, HubNetwork, binaryMCMC, plot.hglasso, image.hglasso, summary.hglasso, plot.hcov, image.hcov, summary.hcov, plot.hbn, image.hbn, summary.hbn)

export(hglasso, hcov, hbn, HubNetwork, binaryMCMC, plot.hglasso, image.hglasso, summary.hglasso, plot.hcov, image.hcov, summary.hcov, plot.hbn, image.hbn, summary.hbn,hglassoBIC)