vcov.brnb {brglm2}R Documentation

Extract model variance-covariance matrix from "brnb" objects

Description

Extract model variance-covariance matrix from "brnb" objects

Usage

## S3 method for class 'brnb'
vcov(object, model = c("mean", "full", "dispersion"), complete = TRUE, ...)

Arguments

object

an object of class "brnb", typically, a result of a call to brnb().

model

character specifying for which component of the model variance-covariance matrix should be extracted.

complete

for the aov, lm, glm, mlm, and where applicable summary.lm etc methods: logical indicating if the full variance-covariance matrix should be returned also in case of an over-determined system where some coefficients are undefined and coef(.) contains NAs correspondingly. When complete = TRUE, vcov() is compatible with coef() also in this singular case.

...

additional arguments for method functions. For the glm method this can be used to pass a dispersion parameter.

Details

The options for model are "mean" for mean regression only (default), "dispersion" for the dispersion parameter (in a chosen transformation; see brglmControl(), and "full" for both the mean regression and the (transformed) dispersion parameters. See vcov() for more details.

See Also

vcov()


[Package brglm2 version 0.9.2 Index]