group_rare_levels: Group rare levels of a factor variable

Description Usage Arguments Examples

Description

Group rare levels of a factor variable

Usage

1
group_rare_levels(vx, min_num = 20, other = 99)

Arguments

vx

vector with factor variable

min_num

minumun frequency of a factor

other

name of group of rare factos

Examples

1
2
3
4
## Not run: 
vx = train$solo_tex; min_num = 20; other = 99

## End(Not run)

elpidiofilho/labgeo documentation built on May 14, 2019, 9:35 a.m.