Learn R Programming

umx (version 1.4.0)

xmuPropagateLabels: xmuPropagateLabels (not a user function)

Description

You should be calling umxLabel. This function is called by xmuLabel_MATRIX_Model

Usage

xmuPropagateLabels(model, suffix = "", verbose = TRUE)

Arguments

model
a model to label
suffix
a string to append to each label
verbose
whether to say what is being done

Value

- mxModel

See Also

Other xmu internal not for end user: umx_explode_twin_names, xmuHasSquareBrackets, xmuLabel_MATRIX_Model, xmuLabel_Matrix, xmuLabel_RAM_Model, xmuMI, xmuMakeDeviationThresholdsMatrices, xmuMakeOneHeadedPathsFromPathList, xmuMakeTwoHeadedPathsFromPathList, xmuMaxLevels, xmuMinLevels, xmu_check_levels_identical, xmu_dot_make_paths, xmu_dot_make_residuals, xmu_start_value_list

Examples

Run this code
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 = umx:::xmuPropagateLabels(m1, suffix = "MZ")

Run the code above in your browser using DataLab