export("mlogit", "mlogit.data", "hmftest", "mFormula", "is.mFormula",
       "mlogit.optim", "cov.mlogit", "cor.mlogit", "rpar", "scoretest",
       "med", "rg", "stdev", "qrpar", "prpar", "drpar",
       "lrtest", "waldtest", "index", "logsum")
import("Formula", "maxLik")
importFrom("lmtest", "lrtest")
importFrom("lmtest", "lrtest.default")
importFrom("lmtest", "waldtest")
importFrom("lmtest", "waldtest.default")
importFrom("zoo", "index")
importFrom("MASS", "ginv")
importFrom("stats", "effects")
importFrom("statmod", "gauss.quad")
importFrom("graphics", "lines", "plot", "polygon", "segments", "title")
importFrom("stats", "as.formula", "coef", "dlnorm", "dnorm", "formula",
           "logLik", "model.frame", "model.matrix", "model.response",
           "na.omit", "pchisq", "plnorm", "pnorm", "predict",
           "printCoefmat", "punif", "qlnorm", "qnorm", "qunif",
           "relevel", "reshape", "residuals", "rnorm", "runif",
           "terms", "update", "vcov", "dunif")

#mlogit.data methods
S3method("index", "mlogit.data")
S3method("[[<-", "mlogit.data")
S3method("$<-", "mlogit.data")
S3method("formula", "mlogit.data")

#mlogit methods
S3method("index", "mlogit")
S3method("scoretest", "mlogit")
S3method("waldtest", "mlogit")
S3method("lrtest", "mlogit")
S3method("coef", "mlogit")
S3method("logLik", "mlogit")
S3method("vcov", "mlogit")
S3method("model.matrix", "mlogit")
S3method("update", "mlogit")
S3method("print", "mlogit")
S3method("summary", "mlogit")
S3method("residuals", "mlogit")
S3method("fitted", "mlogit")
S3method("predict", "mlogit")
S3method("terms", "mlogit")
S3method("df.residual", "mlogit")
S3method("plot", "mlogit")
S3method("mean", "mlogit.data")
S3method("stdev", "mlogit")
S3method("med", "mlogit")
S3method("qrpar", "mlogit")
S3method("prpar", "mlogit")
S3method("rg", "mlogit")
S3method("drpar", "mlogit")
S3method("effects", "mlogit")
S3method("hmftest", "mlogit")

# rpar methods
S3method("print", "rpar")
S3method("summary", "rpar")
S3method("plot", "rpar")
S3method("mean", "rpar")
S3method("stdev", "rpar")
S3method("med", "rpar")
S3method("rg", "rpar")
S3method("qrpar", "rpar")
S3method("prpar", "rpar")
S3method("drpar", "rpar")

# misc methods
S3method("print", "pseries")
S3method("mFormula", "formula")
S3method("hmftest", "formula")
S3method("model.matrix", "mFormula")
S3method("model.frame", "mFormula")
S3method("print", "summary.mlogit")
S3method("coef", "summary.mlogit")

