maxCat | R Documentation |
The function maxCat chooses the level with the most occurrences and random if the maximum is not unique.
maxCat(x, weights = NULL)
x |
factor vector |
weights |
numeric vector providing weights for the observations in x |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.