Learn R Programming

umx (version 1.4.0)

loadings.MxModel: loadings.MxModel

Description

loadings extracts the factor loadings from an OpenMx EFA (factor analysis) model. It behaves equivalently to stats::loadings in returning the loadings from an EFA (factor analysis), but doesn't store the rotation matrix.

Usage

"loadings"(x, ...)

Arguments

x
A RAM model to get which to get loadings
...
Other parameters (currently unused)

Value

- loadings matrix

References

- https://github.com/tbates/umx, https://tbates.github.io

See Also

- factanal, loadings

Other Reporting Functions: mxSE, umxAPA, umx_APA_pval, umx_aggregate, umx_print, umx_show, umx_time, umx

Examples

Run this code
myVars <- c("mpg", "disp", "hp", "wt", "qsec")
m1 = umxEFA(name = "test", factors = 2, data = mtcars[, myVars])
loadings(m1)

Run the code above in your browser using DataLab