get_outcome_type | R Documentation |
If the outcome is numeric, the type is continuous. Otherwise, the outcome type is binary if there are only two outcomes or multiclass if there are more than two outcomes.
get_outcome_type(outcomes_vec)
outcomes_vec |
Vector of outcomes. |
Outcome type (continuous, binary, or multiclass).
Zena Lapp, zenalapp@umich.edu
get_outcome_type(c(1, 2, 1))
get_outcome_type(c("a", "b", "b"))
get_outcome_type(c("a", "b", "c"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.