weights.glmmTMB {glmmTMB} | R Documentation |
Extract weights from a glmmTMB object
Description
Extract weights from a glmmTMB object
Usage
## S3 method for class 'glmmTMB'
weights(object, type = "prior", ...)
Arguments
object |
a fitted |
type |
weights type |
... |
additional arguments (not used; for methods compatibility) |
Details
At present only explicitly specified
prior weights (i.e., weights specified
in the weights
argument) can be extracted from a fitted model.
Unlike other GLM-type models such as
glm
orglmer
,weights()
does not currently return the total number of trials when binomial responses are specified as a two-column matrix.Since
glmmTMB
does not fit models via iteratively weighted least squares,working weights
(seeweights.glm
) are unavailable.
[Package glmmTMB version 1.1.9 Index]