vcov.brnb: Extract model variance-covariance matrix from '"brnb"'...

View source: R/brnb.R

vcov.brnbR 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()


ikosmidis/brglm2 documentation built on Sept. 24, 2024, 10:41 a.m.