Learn R Programming

umx (version 1.9.1)

umx_standardize_RAM: Return a standardized version of a Structural Model

Description

umx_standardize_RAM takes a RAM-style model, and returns standardized version.

Usage

umx_standardize_RAM(model, ...)

Arguments

model

The mxModel you wish to standardise

...

Other options

Value

- standarized RAM model.

References

- http://github.com/tbates/umx

See Also

Other Reporting functions: RMSEA.MxModel, RMSEA.summary.mxmodel, RMSEA, extractAIC.MxModel, loadings, plot.MxModel, residuals.MxModel, umxCI_boot, umxCI, umxCompare, umxConfint, umxExpCov, umxExpMeans, umxFitIndices, umxPlotACEcov, umxPlotACEv, umxPlotACE, umxPlotCP, umxPlotGxE, umxPlotIP, umxSummary.MxModel, umxSummaryACEv, umxSummaryACE, umx_drop_ok

Examples

Run this code
# NOT RUN {
require(umx)
data(demoOneFactor)
latents  = c("G")
manifests = names(demoOneFactor)
m1 <- mxModel("One Factor", type = "RAM", 
	manifestVars = manifests, latentVars = latents, 
	mxPath(from = latents, to = manifests),
	mxPath(from = manifests, arrows = 2),
	mxPath(from = latents, arrows = 2, free = FALSE, values = 1.0),
	mxData(cov(demoOneFactor), type = "cov", numObs = 500)
)
m1 = umxRun(m1, setLabels = TRUE, setValues = TRUE)
m1 = umx_standardize_RAM(m1, return = "model")
m1 = umx_standardize(m1, return = "model")
summary(m1)
# }

Run the code above in your browser using DataLab