Arguments
- x
data.frame or similar.
Value
Character vector of factor names.
Details
This applied to tabular datasets used for supervised learning in rtemis,
where, by convention, the last column is the outcome variable and all other columns
are features.
Examples
get_factor_names(iris)
#> [1] "Species"