Description Usage Arguments Value
View source: R/checkClassBalance.R
Calculate the ratio of the most common class to the least common class
1 | checkClassBalance(y, na.rm = FALSE, ...)
|
y |
A vector of class labels. |
na.rm |
Logical indicating whether or not to remove |
... |
Additional optional arguments to be passed onto |
Returns the ratio of the frequencies for the largest class and the smallest class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.