Learn R Programming

glmmTMB (version 1.1.13)

bread.glmmTMB: 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 glmmTMB
bread(x, full = FALSE, rawnames = FALSE, ...)

Value

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

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

Examples

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

Run the code above in your browser using DataLab