| xmu_gsem_prepare_WLS | R Documentation |
Subsets, smooths, and packages the genetic covariance (S) and sampling
covariance (V) matrices into OpenMx-compatible inputs for mxFitFunctionWLS.
xmu_gsem_prepare_WLS(
covstruc = NULL,
keep_vars,
estimation = "DWLS",
smooth = TRUE,
S = NULL,
V = NULL
)
covstruc |
A list containing the genetic covariance matrix |
keep_vars |
Character vector of traits to retain. Order must match model |
estimation |
Character string. Either |
smooth |
Logical. Should |
A list containing:
S |
The subsetted, optionally smoothed genetic covariance matrix. |
V_omx |
The subsetted, optionally smoothed sampling covariance matrix, formatted for OpenMx. |
W_omx |
The weight matrix for OpenMx ( |
triage |
The raw output from |
keep_vars |
The valid subset of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.