R/maxCat.R
maxCat.Rd
The function maxCat chooses the level with the most occurrences and random if the maximum is not unique.
maxCat(x, weights = NULL)
factor vector
numeric vector providing weights for the observations in x