dot-combine_lowFreqLevels: Merge low freq levels into a single level

.combine_lowFreqLevelsR Documentation

Merge low freq levels into a single level

Description

Merge low freq levels into a single level

Usage

.combine_lowFreqLevels(x, n = 2, repl = "Other", includeLevN = T)

Arguments

x

array, categorical variable to be processed

n

num Percent frequency value of x level, for assigning new level

repl

char, Name of new level

includeLevN

logic, Level name indicates number of merges

Value

x with low freq levels merged into new level


tkimhofer/cleansing documentation built on Oct. 25, 2022, 1:12 a.m.