split_outcome_features {mikropml} | R Documentation |
Split dataset into outcome and features
Description
Split dataset into outcome and features
Usage
split_outcome_features(dataset, outcome_colname)
Arguments
dataset |
Data frame with an outcome variable and other columns as features. |
outcome_colname |
Column name as a string of the outcome variable
(default |
Value
list of length two: outcome, features (as dataframes)
Examples
## Not run:
split_outcome_features(mikropml::otu_mini_bin, "dx")
## End(Not run)
[Package mikropml version 1.6.1 Index]