powered by
Get the name of the last column
outcome_name(x)
Name of the last column.
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.
outcome_name(iris)
Run the code above in your browser using DataLab