useDynLib(MAMS, .registration = TRUE)

import(utils)
import(knitr)
import(mvtnorm)
import(future)
import(future.apply)

importFrom("graphics", "axis", "legend", "lines", "matplot",
             "matpoints", "mtext", "points")
importFrom("stats", "dnorm", "pnorm", "qnorm", "rnorm", "uniroot")
importFrom("methods", "is")
S3method(plot, MAMS)
S3method(plot, MAMS.stepdown)
S3method(print, MAMS)
S3method(print, MAMS.sim)
S3method(print, MAMS.stepdown)
S3method(summary, MAMS)
S3method(summary, MAMS.sim)
S3method(summary, MAMS.stepdown)
export(
       mams,
       mams.sim,
       MAMSNews,
       new.bounds,
       ordinal.mams,
       stepdown.mams,
       stepdown.update,
       tite.mams
      )
