limitLevels: Truncates number of categories o a vector

Description Usage Arguments Author(s) Examples

View source: R/limitLevels.R

Description

Limits the number of categoryes on a vector, it selects the most frecuent categories.

Usage

1
limitLevels(vector, max_levels, other_name = "other")

Arguments

vector

vector with character values

max_levels

number of categories minuts the "other" category

category

for the "other" category

Author(s)

Daniel Fischer

Examples

1
2

danielfm123/dftools documentation built on July 17, 2021, 1 p.m.