Learn R Programming

umx (version 1.4.0)

umxRAM2Ordinal: umxRAM2Ordinal

Description

umxRAM2Ordinal converts a RAM model whose data contain ordinal vars to a threshold-based model

Usage

umxRAM2Ordinal(model, verbose = T, thresholds = c("deviationBased", "direct", "ignore", "left_censored"), name = NULL, showEstimates = TRUE, refModels = NULL, autoRun = getOption("umx_auto_run"))

Arguments

model
An RAM model to add thresholds too.
verbose
Tell the user what was added and why (Default = TRUE)
thresholds
How to implement thresholds: c("deviationBased", "direct", "ignore", "left_censored")
name
= A new name for the modified model (NULL means leave it as it)
showEstimates
= Whether to show estimates in the summary (if autorunning) TRUE
refModels
pass in reference models if available. Use FALSE to supress computing these if not provided.
autoRun
= whether to run the model before returning it: defaults to getOption("umx_auto_run"))

Value

- mxModel

See Also

- umxRAM

Other Model Building Functions: umxDiagnose, umxLabel, umxLatent, umxMatrix, umxModify, umxPath, umxRAM, umxRun, umxThresholdMatrix, umxValues, umx_fix_first_loadings, umx_fix_latents, umx

Examples

Run this code
## Not run: 
# m1 = umxRAM2Ordinal(model)
# ## End(Not run)

Run the code above in your browser using DataLab