powered by
Move outcome to last column
set_outcome(dat, outcome_column)
object of same class as data
data
tabular dataset.
Character: Name of outcome column.
EDG
ir <- set_outcome(iris, "Sepal.Length") head(ir)
Run the code above in your browser using DataLab