| xmu_gsem_subset_covstruc | R Documentation |
Filters a covstruc object containing genetic covariance ($S$), sampling
covariance ($V$), and optionally genomic control ($I$) matrices down to a
specified subset of traits. It ensures proper alignment of the vech-ordered
elements of the sampling covariance matrix $V$.
xmu_gsem_subset_covstruc(covstruc, keep_vars)
covstruc |
A list containing the genetic covariance matrix |
keep_vars |
Character vector of trait names to retain in the subset. |
A list in the same format as covstruc containing only the subsetted
and aligned elements for the traits in keep_vars.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.