split_outcome_features | R Documentation |
Split dataset into outcome and features
split_outcome_features(dataset, outcome_colname)
dataset |
Data frame with an outcome variable and other columns as features. |
outcome_colname |
Column name as a string of the outcome variable
(default |
list of length two: outcome, features (as dataframes)
## Not run:
split_outcome_features(mikropml::otu_mini_bin, "dx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.