S3method(confint, fracdiff) ; export("confint.fracdiff")# has been advertized

importFrom("stats", "integrate", "median", "sd", "uniroot")

"bxp", "contour", "hist", "legend", "lines", "matplot",
"mtext", "par", "persp", "points", "polygon", "strheight",
importFrom("stats", "acf", "approx", "coefficients", "deltat",
"density", "fft", "formula", "lm", "loess.smooth", "lsfit",
"optimize", "pchisq", "predict", "qnorm", "rnorm", "terms",

export(frag.ma, frag.ma.alpha, frag.mas, frag.nma, frag.nma.alpha, frag.studies, frag.study.alpha, frag.study)
import(metafor, netmeta, graphics, grDevices, stats)

"dbinom", "dgamma", "pnorm", "poisson", "qnorm",

importFrom(stats, optim, vcov, .getXlevels, aggregate, complete.cases,
cor, cov, dgamma, dlnorm, dnorm, dpois, dunif,
qlnorm, qnorm, qpois, qunif, rbinom, rchisq,
export(genfrail, fitfrail, fitfrail.control, simfrail, simcoxph)

importFrom(survival, coxph, Surv, untangle.specials, coxph.control, basehaz, strata)
setNames, terms, uniroot, as.formula, drop.terms, update)
export(genfrail, genfrail.control, fitfrail, fitfrail.control, simfrail, simcoxph)

importFrom("graphics", "abline", "legend", "lines", "matlines",
"pnorm", "qnorm", "quantile", "rgamma", "terms", "update",

useDynLib("frailtypack", .registration = TRUE, .fixes = "C_")
importFrom("graphics", "abline", "legend", "lines", "matlines","matplot", "par", "plot")

export(frair_fit, frair_boot, frair_compare, frair_test, frair_responses, drawpoly, drawpoly.default)
export(typeI, typeI_fit, typeI_nll, typeI_diff, typeI_nll_diff)
export(rogersII, rogersII_fit, rogersII_nll, rogersII_diff, rogersII_nll_diff)
export(hollingsII, hollingsII_fit, hollingsII_nll, hollingsII_diff, hollingsII_nll_diff)
export(bdII, bdII_fit, bdII_nll, bdII_diff, bdII_nll_diff)
export(hassIII, hassIII_fit, hassIII_nll, hassIII_diff, hassIII_nll_diff)
export(hassIIIr, hassIIIr_fit, hassIIIr_nll, hassIIIr_diff, hassIIIr_nll_diff)
export(real77, real77_fit, real77_nll, real77_diff, real77_nll_diff)
export(real77r, real77r_fit, real77r_nll, real77r_diff, real77r_nll_diff)
# Failsafe imports for packages in depends (to be sure)^3