This function lets the user reduce categorical values in a vector
categ_reducer(vector, nmin = 0, pmin = 0, pcummax = 100, top = NA,
other_label = "other")
Categorical Vector
Integer. Number of minimum times a value is repeated
Numerical. Porcentage of minimum times a value is repeated
Numerical. Top cumulative porcentage of most repeated values
Integer. Keep the n most frequently repeated values
Character. Which value do you wish to replace the filtered values with?