powered by
Check that the outcome variable is valid. Pick outcome value if necessary.
check_outcome_value(dataset, outcome_colname)
outcome value
Data frame with an outcome variable and other columns as features.
Column name as a string of the outcome variable (default NULL; the first column will be chosen automatically).
NULL
Zena Lapp, zenalapp@umich.edu
Kelly Sovacool, sovacool@umich.edu
if (FALSE) { check_outcome_value(otu_small, "dx", "cancer") }
Run the code above in your browser using DataLab