Learn R Programming

metaSEM (version 0.9.10)

VarCorr: Extract Variance Covariance Matrix of the Random Effects

Description

It extracts the variance-covariance matrix of the random effects (variance component) from the meta objects.

Usage

VarCorr(object, ...)

Arguments

object
An object returned from class meta
...
Further arguments; currently none is used

Value

See Also

coef

Examples

Run this code
## Multivariate meta-analysis on the log of the odds
## The conditional sampling covariance is 0
bcg <- meta(y=cbind(ln_Odd_V, ln_Odd_NV), data=BCG,
            v=cbind(v_ln_Odd_V, cov_V_NV, v_ln_Odd_NV))
VarCorr(bcg)

Run the code above in your browser using DataLab