Learn R Programming

VCA (version 1.5.1)

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 VCA
vcov(object, quiet = FALSE, ...)

Value

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

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.

Examples

Run this code
if (FALSE) {
data(dataEP05A2_1)
fit1 <- anovaMM(y~day/(run), dataEP05A2_1)
vcov(fit1)

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

Run the code above in your browser using DataLab