R/030_init.R
get_factor_names.Rd
Get factor names
get_factor_names(x)
tabular data.
Character vector of factor names.
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.
EDG
get_factor_names(iris)
#> [1] "Species"