exportPattern("^[^\\.]")
importFrom("grDevices", "cairo_pdf", "chull", "dev.copy","dev.copy2pdf", "dev.new", "dev.off", "png")
importFrom("graphics", "contour", "hist", "layout", "legend", "pairs","par", "plot.new", "rect", "strwidth", "text")
importFrom("stats", "cor", "median", "quantile", "runif", "sd")
importFrom("utils", "capture.output", "installed.packages", "read.csv")

exportPattern("^[^\\.]")
importFrom("grDevices", "cairo_pdf", "chull", "dev.copy","dev.copy2pdf", "dev.new", "dev.off", "png")
importFrom("graphics", "contour", "hist", "layout", "legend", "pairs","par", "plot.new", "rect", "strwidth", "text")
importFrom("stats", "cor", "median", "quantile", "runif", "sd")
importFrom("utils", "capture.output", "installed.packages", "read.csv")

useDynLib(MixSim)
export(MixSim, overlap, pdplot, simdataset, RandIndex, ClassProp, VarInf, perms)

useDynLib(MixSim)
export(MixSim, overlap, pdplot, simdataset, RandIndex, ClassProp, VarInf, perms)

importFrom("graphics", "axis", "box", "lines", "par", "plot", "polygon")
importFrom("stats", "dnorm", "qchisq", "qnorm", "rmultinom", "runif")

importFrom("copula", "iTau", "claytonCopula", "fgmCopula", "frankCopula", "gumbelCopula", "joeCopula","plackettCopula","cCopula")

importFrom("stats", "glm", "model.matrix", "optimize", "poisson")

# Use for importing method from other packages
# Export Classes if we decide to build the package using S4 language
## functions that we want to be available for the user.
## The remains are used only internally and documentation are not necessary

importFrom("stats", "rmultinom", "rbeta", "dbeta", "dnorm", "qnorm", "optim",
"runif", "rnorm", "pnorm", "rbinom", "constrOptim",
"pchisq", "rexp", "var", "cor", "median", "optimize")

importFrom("stats", "dbinom", "dexp", "dnorm", "dpois", "pchisq",
"pexp", "pnorm", "qexp", "qnorm", "qpois", "rbinom", "rexp",
"rmultinom", "rnorm", "rpois", "runif", "sd", "uniroot",

importFrom(stats, "as.formula", "dnorm", "optim", "pchisq", "pnorm","qgamma", "qnorm")

#Export method "plot" for class "trmatplot"
#Export method "trmat" for class "depmix.fitted"
#Export method "trmatplot" for class "default"
#Export method "trmatplot" for class "depmix.fitted"
#Export method "trmatplot" for class "hmm"
#Export method "trmatplot" for class "array"
#Export method "trmatplot" for class "march.Dcmm"