recoder: Recodes the values of a character vector

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Recodes the values of a character vector

Usage

1
recoder(x, from = c(), to = c())

Arguments

x

character vector

from

character vector with old values

to

character vector with new values

Value

x where from values are recoded to the supplied to values

See Also

match

Examples

1
recoder(x=append(LETTERS, NA, 5), from = c("A","B"), to = c("a.123","b.123")) 

ETLUtils documentation built on Aug. 3, 2020, 5:16 p.m.