exportPattern("^[[:alpha:]]+")
importFrom(statmod, tweedie)
importFrom(nlme, fixef, ranef)
import(data.table)
import(ggplot2)
import(magrittr)
import(stats)
import(cplm)
importFrom(lme4, glFormula)
importFrom(reformulas, nobars, findbars, isNested)
importFrom("methods", "as")
importFrom("utils", "packageVersion")
export(ranef, fixef, nobars, glFormula, findbars, isNested,
       hierCredibility, hierCredGLM, hierCredTweedie, tweedieGLMM, adjustIntercept,
       BalanceProperty, NrUnique, is.formula, buhlmannStraub)

S3method(print, hierCredibility)
S3method(print, hierCredTweedie)
S3method(print, hierCredGLM)
S3method(print, BalanceProperty)
S3method(print, buhlmannStraub)
S3method(print, buhlmannStraubGLM)
S3method(print, buhlmannStraubTweedie)
S3method(summary, hierCredibility)
S3method(summary, hierCredTweedie)
S3method(summary, hierCredGLM)
S3method(summary, buhlmannStraub)
S3method(summary, buhlmannStraubGLM)
S3method(summary, buhlmannStraubTweedie)
S3method(predict, hierCredibility)
S3method(predict, hierCredTweedie)
S3method(predict, hierCredGLM)
S3method(predict, buhlmannStraub)
S3method(predict, buhlmannStraubGLM)
S3method(predict, buhlmannStraubTweedie)
S3method(ranef, hierCredibility)
S3method(ranef, hierCredTweedie)
S3method(ranef, hierCredGLM)
S3method(ranef, buhlmannStraub)
S3method(ranef, buhlmannStraubGLM)
S3method(ranef, buhlmannStraubTweedie)
S3method(fixef, hierCredTweedie)
S3method(fixef, hierCredGLM)
S3method(fixef, buhlmannStraubGLM)
S3method(fixef, buhlmannStraubTweedie)
S3method(weights, cpglm)
S3method(weights, hierCredGLM)
S3method(weights, hierCredTweedie)
S3method(weights, buhlmannStraubGLM)
S3method(weights, buhlmannStraubTweedie)
S3method(fitted, hierCredibility)
S3method(fitted, hierCredGLM)
S3method(fitted, hierCredTweedie)
S3method(fitted, buhlmannStraub)
S3method(fitted, buhlmannStraubGLM)
S3method(fitted, buhlmannStraubTweedie)
