brnb
objectsExtract model variance-covariance matrix from brnb
objects
# S3 method for brnb
vcov(object, model = c("mean", "full", "dispersion"), complete = TRUE, ...)
an object of class "brnb", usually, a result of a call to brnb
.
character specifying for which component of the model variance-covariance matrix should be extracted.
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 NA
s 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.
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.