Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vcov.VCA

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

Variance Component Analysis

v1.4.3
GPL (>= 3)
Authors
Andre Schuetzenmeister [aut, cre], Florian Dufey [aut]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.