powered by
Returns all column names except the last one
feature_names(x)
Character vector of feature names.
tabular data.
EDG
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.
feature_names(iris)
Run the code above in your browser using DataLab