umx (version 1.9.1)

umx_show: umx_show

Description

Show matrix contents. The user can select values, free, and/or labels, and which matrices to display

Usage

umx_show(model, what = c("values", "free", "labels", "nonzero_or_free"),
  show = c("all", "free", "fixed"), matrices = c("S", "A"), digits = 2)

Arguments

model

an mxModel to show data from

what

legal options are "values" (default), "free", or "labels")

show

filter on what to show c("all", "free", "fixed")

matrices

to show (default is c("S", "A")). "Thresholds" in beta

digits

precision to report, defaults to rounding to 2 decimal places

Value

- mxModel

References

- http://tbates.github.io

See Also

Other Reporting Functions: loadings.MxModel, tmx_is.identified, umxAPA, umxFactorScores, umxGetParameters, umxReduce, umxSummary, umx_APA_pval, umx_aggregate, umx_parameters, umx_print, umx_time, umx

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)
umx_show(m1)
umx_show(m1, digits = 3)
umx_show(m1, matrices = "S")
umx_show(m1, what = "free")
umx_show(m1, what = "labels")
umx_show(m1, what = "free", matrices = "A")
# }

Run the code above in your browser using DataLab