# Export
export(summary.ammiBayes)
export(ammiBayes.conf.plot)
export(ammiBayes.mean.plot)
export(predict.ammiBayes)
export(gen.effects)
export(ammiBayes.gen.plot)
export(diagnosis.ammiBayes)
export(ammiBayes)
export(detect.interaction)
export(AMMI, AMMIGBlup, AMMIGBlupD)
export(sm.index, ammiBayes.sm.plot)


# Import all packages listed as Imports or Depends
import(
 latticeExtra,
 distfree.cr,
 coda,
 spam,
 movMF,
 msm,
 bayesplot,
 Hmisc,
 MASS
)

importFrom("grDevices", "col2rgb", "rgb")
importFrom("stats", "median", "model.matrix", "rchisq", "rnorm", "sd")
importFrom("utils", "setTxtProgressBar", "txtProgressBar")
importFrom("parallel", "mclapply", "detectCores")
importFrom("lattice", "xyplot", "panel.segments", "panel.polygon", "panel.text", "panel.abline", "panel.xyplot")
importFrom("MASS", "ginv")

# S3 methods
S3method(summary, ammiBayes)
S3method(predict, ammiBayes)
