DummyToCategories: Categorical from dummy variables
Description
Generates a single categorical variable from corresponding dummy variables.
Usage
DummyToCategories(x, verbose = FALSE)
Value
A single categorical variable (numeric).
Arguments
- x
matrix of dummy variables.
- verbose
logical indicating if messages should be printed.