weights.glmmTMB | R Documentation |
Extract weights from a glmmTMB object
## S3 method for class 'glmmTMB'
weights(object, type = "prior", ...)
object |
a fitted |
type |
weights type |
... |
additional arguments (not used; for methods compatibility) |
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
or
glmer
, 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
(see weights.glm
) are unavailable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.