importFrom(graphics, "axis", "image", "layout", "legend", "lines", "matplot", "par", "points", "segments", "title", "plot.default")

##   all exportClasses() commented as they would export everything as S4 classes,
##   whereas everything is defined as just S3 classes in the code
#exportClasses("NMixPlugCondDensJoint2", "NMixPlugCondDensMarg", "NMixPlugDensJoint2", "NMixPlugDensMarg", "NMixPredCDFMarg", "NMixPredCondCDFMarg", "NMixPredCondDensJoint2", "NMixPredCondDensMarg", "NMixPredDensJoint2", "NMixPredDensMarg")

importFrom(stats, approxfun, density, dnorm, ecdf, pnorm,
sd, uniroot, var, ar, dgamma, dpois, lm, rgamma, rnorm, runif,
importFrom(graphics, title, par, lines, hist)
importFrom(utils, head, str, tail, as.relistable)
importFrom(fGarch, pstd, dstd, rstd, qstd)
# moT_A,    these now are in exampleModels, see names(exampleModels)
"parameters<-", # to replace set_parameters
##ui, don't export internal functions  ## New functions from this line

importFrom(utils, head, str, tail, as.relistable, menu)

importFrom("stats", "reorder", "quantile", "median", "as.dist")

import(MASS, lattice, RGCCA, igraph, rgl, pheatmap)

import(MASS, lattice, igraph, rgl, pheatmap, ggplot2, ellipse)
"par", "plot", "plot.default", "points", "polygon", "rect",
"segments", "strheight", "strwidth", "symbols", "text",
importFrom("stats", "as.dendrogram", "as.dist", "coefficients", "cor",
"cov", "dist", "hclust", "lm", "lsfit", "median", "na.omit",
"order.dendrogram", "predict", "quantile", "reorder", "var")

import(MASS, lattice, igraph, rgl, ggplot2,corpcor)
"heat.colors", "rgb","jpeg", "pdf", "tiff", "x11")

import(MASS, lattice, igraph, rgl, ggplot2,corpcor,parallel, RColorBrewer, plyr)
"order.dendrogram", "predict", "quantile", "reorder", "var","sd")

import(MASS, lattice, igraph, ggplot2,corpcor,parallel, RColorBrewer, plyr)
importFrom(rgl, axes3d, bbox3d, box3d, cube3d, dodecahedron3d,
ellipse3d, icosahedron3d, layout3d, legend3d, mtext3d,
next3d, octahedron3d, open3d, par3d, plot3d, points3d,
rotationMatrix, segments3d, shade3d, shapelist3d, spheres3d,
"order.dendrogram", "predict", "quantile", "reorder", "var","sd","pnorm")