Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

weights.glmmTMB

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

Generalized Linear Mixed Models using Template Model Builder

v1.0.2.1
AGPL-3
Authors
Arni Magnusson [aut] (<https://orcid.org/0000-0003-2769-6741>), Hans Skaug [aut], Anders Nielsen [aut] (<https://orcid.org/0000-0001-9683-9262>), Casper Berg [aut] (<https://orcid.org/0000-0002-3812-5269>), Kasper Kristensen [aut], Martin Maechler [aut] (<https://orcid.org/0000-0002-8685-9910>), Koen van Bentham [aut], Ben Bolker [aut] (<https://orcid.org/0000-0002-2127-0443>), Nafis Sadat [ctb] (<https://orcid.org/0000-0001-5715-616X>), Daniel Lüdecke [ctb] (<https://orcid.org/0000-0002-8895-3206>), Russ Lenth [ctb], Joseph O'Brien [ctb] (<https://orcid.org/0000-0001-9851-5077>), Mollie Brooks [aut, cre] (<https://orcid.org/0000-0001-6963-8326>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.