vcov.VCA {VCA} | R 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)
[Package VCA version 1.5.1 Index]