This function allows you to combine the categories of a variable without making a copy of the variable.

collapseCategories(var, from, to)

Arguments

var A categorical Crunch variable A character vector of categories you want to combine. A character string with the destination category.

Value

the variable duly modified

combine()