| umxSummary.MxDataStatic | R Documentation |
Explains modern OpenMx WLS data for users who have not seen type = "summary"
and observedStats (cov, useWeight, asymCov). Works for
MxDataStatic from OpenMx::mxData (including GSEM-style summary data).
## S3 method for class 'MxDataStatic'
umxSummary(
model,
digits = 3,
report = c("markdown", "html"),
matrices = c("cov", "useWeight", "asymCov"),
...
)
model |
An OpenMx::mxData object ( |
digits |
Rounding for printed cells (default 3). |
report |
|
matrices |
Which observedStats blocks to print: any of
|
... |
Passed to |
If observedStats still holds LDSC/GSEM covstruc keys (S, V, ...)
rather than modern WLS keys - e.g.
mxData(type="summary", observedStats = Psych_LDSC, numObs = 2) -
OpenMx stores those names as-is (it does not map S->cov or
V->asymCov). This method detects that case, prints the LDSC content via
umxSummary.list(), and notes how to build a working WLS mxData.
Invisibly returns the input model.
umxSummary.list(), mxData, mxFitFunctionWLS, umxGSEM
Other GSEM:
Anthro_LDSC,
Psych_LDSC,
plot.umx_GWAS(),
umxGSEM(),
umxGSEM_GWAS(),
umxGSEM_dl_tutorial_files(),
umxGSEM_label_ldsc(),
umxGSEM_ldsc(),
umxGSEM_munge(),
umxGSEM_std(),
umxGSEM_sumstats(),
umxSummary.list()
Other Model Summary:
umxSummary.MxLISRELModel(),
umxSummary.list()
data(Psych_LDSC)
S = Psych_LDSC$S[1:3, 1:3]
V = Psych_LDSC$V[1:6, 1:6]
W = diag(1 / diag(V))
dimnames(W) = dimnames(V)
## Not run:
# Needs modern OpenMx/GenomicMx (type = "summary" pure observedStats).
# CRAN OpenMx historically used type = "none" for this layout.
d = mxData(numObs = 1, type = "summary",
observedStats = list(cov = S, useWeight = W, asymCov = V))
umxSummary(d)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.