Learn R Programming

umx (version 4.9.0)

RMSEA.summary.mxmodel: RMSEA function for MxModels

Description

Compute the confidence interval on RMSEA and print it out. note: If your goal is to extract the RMSEA from a model, use RMSEA(m1)$RMSEA

Usage

# S3 method for summary.mxmodel
RMSEA(x, ci.lower = 0.05, ci.upper = 0.95, digits = 3)

Arguments

x

an mxModel() summary from which to get RMSEA

ci.lower

the lower CI to compute

ci.upper

the upper CI to compute

digits

digits to show (defaults to 3)

Value

  • object containing the RMSEA and lower and upper bounds

References

See Also

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

Examples

Run this code
# NOT RUN {
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)

m1 = umxRAM("One Factor", data = demoOneFactor, type = "cov",
	umxPath("G", to = manifests),
	umxPath(var = manifests),
	umxPath(var = "G", fixedAt = 1.0)
)
tmp = summary(m1)
RMSEA(tmp)
# }

Run the code above in your browser using DataLab