# functions
export(
  dmm,
  mdf,
  make.ctable,
  warcolak.convert, 
  pedrenum,
  pedcheck,
  gprint,
  gresponse,
  gsummary,
  make.dmmobj,
  chartodec,
  unfactor,
  condense.dmmarray,
  condense.dmmblockarray,
  make.countarray,
  csummary
#  gprint.dmm,
#  gresponse.dmm,
#  gsummary.dmm,
#  summary.dmm,
#  summary.gresponse.dmm,
#  print.dmm,
#  print.summary.dmm,
#  print.gresponse.dmm,
#  print.gsummary.dmm
#  dmm.default
)

# exportClasses(dmm)

# data
# export(dt8bal.df,harv103.df,merino.df,quercus.df,sheep.df,tstmo1.df)

# S3 methods
S3method(plot,dmm)
S3method(print,dmm)
S3method(print,summary.dmm)
S3method(print,csummary.dmm)
S3method(print,csumspecific.dmm)
S3method(print,csummarytables.dmm)
S3method(print,gsummary.dmm)
S3method(print,gsumspecific.dmm)
S3method(print,gsummarytables.dmm)
S3method(print,gresponse.dmm)
S3method(summary,dmm)
S3method(csummary,dmm)
S3method(summary,gresponse.dmm)
S3method(gsummary,dmm)
S3method(gresponse,dmm)
S3method(gprint,dmm)
S3method(dmm,default)

# import dependencies
import(MASS,Matrix,robustbase,pls,nadiv)

importFrom("graphics", "hist", "mtext", "par")
importFrom("grDevices", "devAskNewPage")
importFrom("stats", "aov", "coef", "cor", "fitted", "lm", "qqnorm", "resid", "terms", "var")
