umx (version 1.9.1)

xmuMinLevels: xmuMinLevels

Description

Get the min levels from df

Usage

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

Arguments

df

Dataframe to search through

what

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

Value

- min 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, xmuMaxLevels, xmuPropagateLabels, xmu_check_levels_identical, xmu_dot_make_paths, xmu_dot_make_residuals, xmu_start_value_list

Examples

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

Run the code above in your browser using DataCamp Workspace