combine_small_categories: Combine small categories

View source: R/funs.R

combine_small_categoriesR Documentation

Combine small categories

Description

Combine small categories

Usage

combine_small_categories(x, nlevels = 3, other = "Other", verbose = FALSE, ...)

combine_later_categories(x, nlevels = 3, other = "Other", verbose = FALSE, ...)

Arguments

x

factor or character to be condensed

nlevels

number of levels to keep

other

name for 'other' category

verbose

default FALSE

Functions

  • combine_later_categories: later categories


gmonette/gnew documentation built on July 9, 2022, 12:57 p.m.