comb.levels {codeCollection} | R Documentation |
Groups rare levels of factor
comb.levels(x, N.max = 10, lang = "fi")
x |
factor or other categorical variable |
N.max |
maximum number of levels |
lang |
language ("fi" or "en") |
factor containing code value and text