comb.levels {codeCollection}R Documentation

Groups rare levels of factor

Description

Groups rare levels of factor

Usage

comb.levels(x, N.max = 10, lang = "fi")

Arguments

x

factor or other categorical variable

N.max

maximum number of levels

lang

language ("fi" or "en")

Value

factor containing code value and text


[Package codeCollection version 0.1.3 Index]