bread.glmmTMB: Bread Matrix for Sandwich Estimator

bread.glmmTMBR Documentation

Bread Matrix for Sandwich Estimator

Description

This method for bread returns the variance-covariance matrix (bread) for a fitted glmmTMB model.

Usage

## S3 method for class 'glmmTMB'
bread(x, full = FALSE, rawnames = FALSE, ...)

Arguments

x

a fitted glmmTMB object.

full

return a full variance-covariance matrix?

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.

...

ignored additional arguments (only for methods compatibility).

Value

The bread matrix, which is just the variance-covariance matrix.

Examples

m <- glmmTMB(count ~ mined + (1 | spp), data = Salamanders, family = nbinom1)
bread(m)
bread(m, full = TRUE)

glmmTMB documentation built on Jan. 15, 2026, 9:07 a.m.