Description Usage Arguments Value
This function returns the names of classes in a nominal and binary target variable. The vector is ordered: the majority class name is in the first position, and the minority class in the second.
1 | classNames(form, ds)
|
form |
A model formula |
ds |
A data.frame object with the training data |
A vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.