recode {CMO}R Documentation

Recodes the factor levels of a factor

Description

This function rearranges the factor levels of a factor.

Usage

recode(fak, recMat = NULL)

Arguments

fak Input vector (a factor)
recMat A matrix that determines how the factor levels will be recoded. If NULL an editor will ask for factor level changes at runtime.

Value

returns a factor with changed factor levels

Author(s)

Christian Montel


[Package CMO version 1.02 Index]