Learn R Programming

umx (version 1.9.1)

xmuMaxLevels: xmuMaxLevels

Description

Get the max levels from df

Usage

xmuMaxLevels(df, what = c("value", "name"))

Arguments

df

Dataframe to search through

what

Either "value" or "name" ( of the max-level column)

Value

- max number of levels in frame

See Also

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

Examples

Run this code
# NOT RUN {
xmuMaxLevels(mtcars) # NA = no ordinal vars
xmuMaxLevels(umxFactor(mtcars))
xmuMaxLevels(umxFactor(mtcars), what = "name")
# }

Run the code above in your browser using DataLab