# \donttest{
data(df1, package = 'ptmixed')
# estimate a Poisson-Tweedie or negative binomial GLMM (using
# ptmixed() or nbmixed())
fit0 = nbmixed(fixef.formula = y ~ group + time, id = id,
offset = offset, data = df1, npoints = 5,
freq.updates = 200, hessian = FALSE, trace = TRUE)
# obtain random effect estimates
ranef(obj = fit0)
# }
Run the code above in your browser using DataLab