create.V {metaSEM} | R Documentation |
Create a V-known matrix
Description
It creates a V-known matrix of the sampling covariance matrix using definition variables.
Usage
create.V(x, type = c("Symm", "Diag", "Full"), as.mxMatrix = TRUE)
Arguments
x |
A character vector of variable names of the sampling covariance matrix. |
type |
Either |
as.mxMatrix |
Logical. Whether to convert the output into |
Value
A list of MxMatrix-class
. The V-known sampling covariance
matrix is computed in V
.
Author(s)
Mike W.-L. Cheung <mikewlcheung@nus.edu.sg>
See Also
osmasem
,
create.Tau2
, create.vechsR
Examples
my.df <- Cor2DataFrame(Nohe15A1)
## Create known sampling variance covariance matrix
V0 <- create.V(my.df$vlabels)
V0
[Package metaSEM version 1.4.0 Index]