check_outcome_column | R Documentation |
Check that outcome column exists. Pick outcome column if not specified.
check_outcome_column(
dataset,
outcome_colname,
check_values = TRUE,
show_message = TRUE
)
dataset |
Data frame with an outcome variable and other columns as features. |
outcome_colname |
Column name as a string of the outcome variable
(default |
check_values |
whether to check the outcome values or just get the column (default:TRUE) |
show_message |
whether to show which column is being used as the output column (default: TRUE) |
outcome colname
Kelly Sovacool, sovacool@umich.edu
## Not run:
check_outcome_column(otu_small, NULL)
check_outcome_column(otu_small, "dx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.