recodeLevelsDS: Recodes the levels of a categorical variables

recodeLevelsDSR Documentation

Recodes the levels of a categorical variables

Description

The functions uses the input factor and generates a new factor with new levels.

Usage

recodeLevelsDS(x = NULL, classes = NULL)

Arguments

x

a factor vector

classes

a character vector the levels of the newt factor vector

Value

a factor vector with the new levels

Author(s)

Gaye, A.


datashield/dsBase documentation built on May 16, 2023, 10:01 p.m.