Extracts categorical variables from a data frame.
Usage
getCatVars(DataFrame, Ordinal = TRUE)
Arguments
- DataFrame
The data frame from which to extract categorical variables.
- Ordinal
Logical, indicating whether to include ordinal variables.
Value
A character vector containing the names of categorical variables.