useDynLib(mexhaz, .registration = TRUE, .fixes = "C_")
export(fixef, fixef.mexhaz, mexhaz, ranef, ranef.mexhaz, vcov, vcov.mexhaz)
importFrom(stats, .getXlevels, as.formula, coef, model.extract, model.frame, model.matrix, na.pass, nlm, optim, printCoefmat, pt, qnorm, qt, quantile, terms, update, var)

export(mexhaz, print.mexhaz, summary.mexhaz, predict.mexhaz, ranef, ranef.mexhaz, update.mexhaz, print.predMexhaz, plot.predMexhaz, points.predMexhaz)

importFrom(stats, .getXlevels, as.formula, coef, model.extract, model.frame, model.matrix, na.pass, nlm, optim, printCoefmat, pnorm, qnorm, quantile, terms, update, var)

export(adjsurv, fixef, fixef.mexhaz, mexhaz, ranef, ranef.mexhaz, riskfunc, vcov, vcov.mexhaz)
importFrom("stats", ".getXlevels", "as.formula", "coef", "model.extract", "model.frame", "model.matrix", "na.pass", "nlm", "optim", "pnorm", "printCoefmat", "pt", "qnorm", "quantile", "terms", "update", "var")

importFrom(dplyr, "group_by", "summarize", "ungroup", "mutate", "transmute", "bind_rows", "pull")
importFrom(lubridate, "%m-%", "%m+%", "days", "ymd", "quarter", "month", "year",
"as_date", "day", "days_in_month", "ceiling_date", "floor_date")

importFrom(zoo, "as.Date", "zoo", "as.Date.ts", "index", "merge.zoo")

importFrom("utils", "head", "read.table", "tar", "untar",
importFrom(DBI, dbConnect, dbDisconnect, dbDriver, dbSendQuery, dbFetch, dbGetQuery, dbCommit, dbRollback, dbGetRowsAffected, dbClearResult, dbWriteTable)

importFrom(DBI, dbConnect, dbDisconnect, dbDriver, dbSendQuery, dbFetch, dbGetQuery, dbCommit, dbRollback, dbGetRowsAffected, dbClearResult, dbWriteTable, dbBegin)

export(logitmfx, negbinmfx, poissonmfx, probitmfx, print.logitmfx, print.negbinmfx, print.poissonmfx, print.probitmfx)

export(logitmfx, negbinmfx, poissonmfx, probitmfx, betamfx,
print.logitmfx, print.negbinmfx, print.poissonmfx, print.probitmfx, print.betamfx,
import(stats, sandwich, lmtest, MASS, betareg)

logitor, negbinirr, poissonirr, betaor )

gam.fit, gamm.setup , interpret.gam, gam.setup, gam.side.conditions,
magic, magic.post.proc, mgcv, mgcv.control, mgcv.find.theta,