useDynLib(lme4,.registration=TRUE)

## base packages
importFrom("graphics", plot)
importFrom("splines", backSpline,interpSpline,periodicSpline)
importFrom("methods", show)
importFrom("stats",
           anova, coef, confint, deviance, df.residual, drop1,
           extractAIC, family, fitted, formula, logLik,
           model.matrix, nobs, profile, residuals, simulate, terms,
           update, vcov, weights)
## Recommended packages
importClassesFrom("Matrix", corMatrix, dgCMatrix, dpoMatrix, dCHMsimpl)
importFrom("grid", gpar,viewport)
importFrom("lattice",
           bwplot,
           current.panel.limits,
           densityplot, dotplot,
           histogram,
           llines,lpoints,lsegments,ltext,
           panel.abline,panel.axis,panel.bwplot,panel.grid,panel.histogram,
           panel.lines, panel.number, panel.points,
           panel.segments, panel.xyplot,
           prepanel.qqmathline, panel.qqmathline, panel.qqmath, qqmath,
           splom, strip.custom, strip.default, trellis.par.get,
           xyplot)
importFrom("MASS", negative.binomial, theta.ml)
importFrom("Matrix", drop0, rankMatrix, rBind, sparseMatrix)
importFrom("nlme", fixef,ranef,VarCorr)
importMethodsFrom("Matrix", "%*%",coerce,crossprod,diag,t,tcrossprod,solve,chol2inv)
## other CRAN packages:
import(RcppEigen)
importFrom("Rcpp", evalCpp)
importFrom("minqa", bobyqa)

export(bootMer)
export(devcomp)
export(dummy)
export(expandDoubleVerts)
export(findbars)
export(fixef)
## export(fortify)
export(getL)
export(getME)
export(GHrule)
export(glFormula)
export(glmer.nb)
export(glmer)
export(glmFamily)
export(glmResp)
export(golden)
export(GQdk)
export(isGLMM)
export(isLMM)
export(isNested)
export(isNLMM)
export(isREML)
export(lFormula)
export(lmer)
export(lmerControl, glmerControl, nlmerControl,
       .makeCC)
export(lmerResp)
export(lmList)
export(lmResp)
export(merPredD)
export(mkGlmerDevfun)
export(mkLmerDevfun)
export(mkMerMod)
export(mkRespMod)
export(mkReTrms)
export(mkVarCorr)
export(Nelder_Mead)
export(NelderMead)
export(ngrps)
export(nlformula)
export(nlmer)
export(nlsResp)
export(nobars)
export(optimizeGlmer)
export(optimizeLmer)
export(ranef)
export(refit)
export(refitML)
export(rePos)
export(sigma)
export(.simulateFun)
export(subbars)
## export(tnames)
export(updateGlmerDevfun)
export(VarCorr)
export(varianceProf)
exportClasses(glmerMod)
exportClasses(lmerMod)
exportClasses(lmList)
exportClasses(merMod)
exportClasses(nlmerMod)
exportMethods(getL)
exportMethods(show)
S3method(anova,merMod)
S3method(as.data.frame,boot)
S3method(as.data.frame,thpr)
S3method(as.data.frame,VarCorr.merMod)
S3method(as.function,merMod)
S3method(coef,lmList)
S3method(coef,merMod)
S3method(confint,lmList)
S3method(confint,merMod)# but don't hide:
export(confint.merMod)
S3method(confint,thpr)
S3method(densityplot,thpr)
S3method(deviance,merMod)
S3method(df.residual,merMod)
S3method(dotplot,coef.mer)
S3method(dotplot,ranef.mer)
S3method(drop1,merMod)
S3method(extractAIC,merMod)
S3method(family,glmResp)
S3method(family,lmResp)
S3method(family,merMod)
S3method(family,nlsResp)
S3method(fitted,merMod)
S3method(fixef,merMod)
S3method(formula,lmList)
S3method(formula,merMod)
## S3method(fortify,merMod)# but don't hide:
export(fortify.merMod)
S3method(isGLMM,merMod)
S3method(isLMM,merMod)
S3method(isNLMM,merMod)
S3method(isREML,merMod)
S3method(log,thpr)
S3method(logLik,merMod)
S3method(model.frame,merMod)
S3method(model.matrix,merMod)
S3method(ngrps,factor)
S3method(ngrps,merMod)
S3method(nobs,merMod)
S3method(plot,coef.mer)
S3method(plot,lmList.confint)
S3method(plot,merMod)
S3method(plot,ranef.mer)
S3method(predict,merMod)
S3method(print,merMod)
S3method(print,ranef.mer)
S3method(print,summary.merMod)
S3method(print,VarCorr.merMod)
S3method(profile,merMod)
S3method(qqmath,merMod)
S3method(qqmath,ranef.mer)
S3method(ranef,merMod)
S3method(refit,merMod)
S3method(refitML,merMod)
S3method(residuals,glmResp)
S3method(residuals,lmResp)
S3method(residuals,merMod)
S3method(sigma,merMod)
S3method(simulate,merMod)
S3method(simulate,formula)
S3method(splom,thpr)
S3method(summary,merMod)
S3method(summary,summary.merMod)
S3method(terms,merMod)
S3method(update,lmList)
S3method(update,merMod)
S3method(VarCorr,merMod)
S3method(vcov,merMod)# but do not hide:
export(vcov.merMod)
S3method(vcov,summary.merMod)
S3method(weights,merMod)
S3method(xyplot,thpr)

