vcov.VCA: Calculate Variance-Covariance Matrix of Fixed Effects for an...

View source: R/vca.R

vcov.VCAR Documentation

Calculate Variance-Covariance Matrix of Fixed Effects for an 'VCA' Object

Description

Return the variance-covariance matrix of fixed effects for a linear mixed model applicable for objects of class 'VCA'.

Usage

## S3 method for class 'VCA'
vcov(object, quiet = FALSE, ...)

Arguments

object

(VCA) object for which the variance-covariance matrix of fixed effects shall be calculated

quiet

(logical) TRUE = will suppress any warning, which will be issued otherwise

...

additional parameters

Details

Actually this function only extracts this matrix or, if not available, calls function vcovFixed which performs calculations. It exists for compatibility reasons, i.e. for coneniently using objects of class 'VCA' with other packages expecting this function, e.g. the 'multcomp' package for general linear hypotheses for parametric models.

Value

(matrix) corresponding to the variance-covariance matrix of fixed effects

Examples

## Not run: 
data(dataEP05A2_1)
fit1 <- anovaMM(y~day/(run), dataEP05A2_1)
vcov(fit1)

fit2 <- anovaVCA(y~day/run, dataEP05A2_1)
vcov(fit2)

## End(Not run)

VCA documentation built on Sept. 7, 2022, 5:07 p.m.