Extract Fixed Effects
# S3 method for class 'glmmTMB'
fixef(object, ...)an object of class fixef.glmmTMB comprising a list of components (cond, zi, disp), each containing a (possibly zero-length) numeric vector of coefficients
Extract fixed effects from a fitted glmmTMB model.
The print method for fixef.glmmTMB object only displays non-trivial components: in particular, the dispersion parameter estimate is not printed for models with a single (intercept) dispersion parameter (see examples)
data(sleepstudy, package = "lme4")
fm1 <- glmmTMB(Reaction ~ Days, sleepstudy)
(f1 <- fixef(fm1))
#>
#> Conditional model:
#> (Intercept) Days
#> 251.40 10.47
f1$cond
#> (Intercept) Days
#> 251.40498 10.46731
## show full coefficients, including empty z-i model and
## constant dispersion parameter
print(f1, print_trivials = TRUE)
#>
#> Conditional model:
#> (Intercept) Days
#> 251.40 10.47
#>
#> Zero-inflation model:
#> character(0)
#>
#> Dispersion model:
#> (Intercept)
#> 3.86