importFrom(MASS, mvrnorm, gamma.shape, polr)
importFrom(Matrix, Diagonal)
importMethodsFrom(Matrix, kronecker)
importFrom(lpSolve, lp)
importFrom(sandwich, vcovHC, sandwich, estfun)
importFrom(mvtnorm, rmvnorm)
importFrom(Hmisc, wtd.var)


export(mediate, summary.mediate, plot.mediate,
       summary.mediate.order, plot.mediate.order,
       summary.mediate.mer, plot.mediate.mer,
       medsens, summary.medsens, plot.medsens,
       mediations, summary.mediations, plot.mediations,
       summary.mediations.order, plot.mediations.order,
       multimed, summary.multimed, plot.multimed,
       mediate.sed, mediate.pd, mediate.ped, mediate.ced,
       summary.mediate.design,
       test.TMint, test.modmed, amelidiate,
       ivmediate, summary.ivmediate, plot.ivmediate)

S3method(summary, mediate)
S3method(summary, mediate.order)
S3method(summary, mediate.mer)
S3method(summary, medsens)
S3method(summary, mediations)
S3method(summary, mediations.order)
S3method(summary, multimed)
S3method(summary, mediate.design)
S3method(summary, ivmediate)
S3method(plot, mediate)
S3method(plot, mediate.order)
S3method(plot, mediate.mer)
S3method(plot, medsens)
S3method(plot, mediations)
S3method(plot, mediations.order)
S3method(plot, multimed)
S3method(plot, ivmediate)
S3method(print, summary.mediate)
S3method(print, summary.mediate.order)
S3method(print, summary.mediate.mer)
S3method(print, summary.mediate.mer.2)
S3method(print, summary.mediate.mer.3)
S3method(print, summary.medsens)
S3method(print, summary.mediations)
S3method(print, summary.mediations.order)
S3method(print, summary.multimed)
S3method(print, summary.mediate.design)
S3method(print, test.modmed.mediate)
S3method(print, test.modmed.mediate.order)
S3method(print, htest.order)
S3method(print, summary.ivmediate)
S3method(test.TMint, default)
S3method(test.TMint, mediate)
S3method(test.TMint, mediate.order)
S3method(test.modmed, default)
S3method(test.modmed, mediate)
S3method(test.modmed, mediate.order)
