RMSEA.summary.mxmodel: RMSEA function for MxModel summary

RMSEA.summary.mxmodelR Documentation

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 class 'summary.mxmodel'
RMSEA(x, ci.lower = 0.025, ci.upper = 0.975, digits = 3)

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)

Value

  • object containing the RMSEA and lower and upper bounds

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

## Not run: 
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)

## End(Not run)

umx documentation built on May 29, 2024, 5:40 a.m.