umx (version 1.9.1)

umxRAM2Ordinal: umxRAM2Ordinal

Description

umxRAM2Ordinal: Convert a RAM model whose data contain ordinal variables 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 autoRun) TRUE

refModels

pass in reference models if available. Use FALSE to suppress 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 Advanced Model Building Functions: umxJiggle, umxLabel, umxThresholdMatrix, umxValues, umx_fix_first_loadings, umx_fix_latents, umx

Examples

Run this code
# NOT RUN {
m1 = umxRAM2Ordinal(model)
# }

Run the code above in your browser using DataLab