This method for estfun extracts the
clusterwise score vectors (empirical estimating functions)
from a fitted glmmTMB model.
Usage
# S3 method for glmmTMB
estfun(x, full = FALSE, cluster = getGroups(x), rawnames = FALSE, ...)
Value
A matrix where each row corresponds to a cluster and each column
corresponds to a parameter in the model. The values are the empirical estimating functions
(score vectors) for each parameter in each cluster.
Arguments
x
a glmmTMB object fitted with ML (REML is not supported).
full
logical; if TRUE, return the full score vectors including random effects,
otherwise only the fixed effects part.
cluster
a factor indicating the cluster structure of the data.
rawnames
logical; if TRUE, return the raw names of the parameters as in the TMB object.
By default, FALSE such that the names are sanitized to user friendly names.