useDynLib(EMCluster)

importFrom("stats", "rmultinom", "rbinom", "pchisq")
importFrom("grDevices", "rainbow", "colors", "rgb", "pdf", "jpeg", "dev.off")
importFrom("graphics", "plot", "box", "axis", "rect", "image", "points",
                       "lines", "layout", "par", "polygon", "text", "legend",
                       "contour")

import(MASS, Matrix)

exportPattern("^[[:alpha:]]+")
# exportPattern("^[\\.]")

export(
  .EMControl
)

S3method(print, emret)
S3method(print, RRandret)
S3method(print, initret)
S3method(print, svd)
S3method(print, lmt)
S3method(print, summary.emret)
S3method(print, summary.svd)

S3method(summary, emret)
S3method(summary, emret.wt)
S3method(summary, svd)
S3method(summary, svd.wt)

