Learn R Programming

glmmTMB (version 1.1.13)

meatHC: Simple Cluster Based Meat Matrix Estimator

Description

This (simplified) method for a new S3 generic based on meatHC computes the meat matrix for a fitted glmmTMB model, which is the cross-product of the cluster-wise score vectors (empirical estimating functions) extracted by estfun.

Usage

meatHC(x, ...)

# S3 method for default meatHC(x, ...)

# S3 method for glmmTMB meatHC(x, ...)

Value

A square matrix where each element represents the cross-product of the score vectors for the parameters in the model. The rows and columns are named according to the parameter names.

Arguments

x

a glmmTMB object fitted with ML (REML is not supported).

...

additional arguments passed to estfun, in particular full, cluster and rawnames arguments.

Examples

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

Run the code above in your browser using DataLab