Learn R Programming

umx (version 4.20.0)

RMSEA.summary.mxmodel: RMSEA function for MxModel summary

Description

Extract the RMSEA and confidence interval from a model summary and returns it as an RMSEA object. To report just the RMSEA, you can use RMSEA(model)$RMSEA

Usage

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

Value

  • object containing the RMSEA and lower and upper bounds

Arguments

x

an mxModel() summary from which to get RMSEA

ci.lower

the lower CI to compute (only 95% CI (.025) is implemented)

ci.upper

the upper CI to compute (only 95% CI (.975) is implemented)

digits

The number of digits to round data (defaults to 3)

References

See Also

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

Examples

Run this code
if (FALSE) {
require(umx)
data(demoOneFactor)
manifests = names(demoOneFactor)

m1 = umxRAM("One Factor", data = demoOneFactor[1:100,], 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