weights.glmmTMB: Extract weights from a glmmTMB object

weights.glmmTMBR 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 glmmTMB object

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 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.


glmmTMB documentation built on Oct. 7, 2023, 5:07 p.m.