Learn R Programming

umx (version 4.9.0)

umxExpMeans: Extract the expected means matrix from an mxModel()

Description

Extract the expected means matrix from an mxModel()

Usage

umxExpMeans(model, manifests = TRUE, latents = NULL, digits = NULL)

Arguments

model

an mxModel() to get the means from

manifests

Whether to select the manifest variables (defaults to TRUE)

latents

Whether to select the latent variables (defaults to TRUE)

digits

precision of reporting. Default (NULL) will not round at all.

Value

  • expected means

References

See Also

Other Reporting functions: RMSEA.MxModel(), RMSEA.summary.mxmodel(), RMSEA(), extractAIC.MxModel(), loadings(), residuals.MxModel(), umxCI_boot(), umxCI(), umxConfint(), umxExpCov(), umxFitIndices(), umxRotate()

Examples

Run this code
# NOT RUN {
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)
m1 = umxRAM("One Factor", data = demoOneFactor,
	umxPath("G", to = manifests),
	umxPath(var = manifests),
	umxPath(var = "G", fixedAt = 1)
)

umxExpMeans(m1)
umxExpMeans(m1, digits = 3)
# }

Run the code above in your browser using DataLab