View source: R/utils_supervised.R
| set_outcome | R Documentation |
Move outcome to last column
set_outcome(dat, outcome_column)
dat |
tabular dataset. |
outcome_column |
Character: Name of outcome column. |
object of same class as data
EDG
ir <- set_outcome(iris, "Sepal.Length")
head(ir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.