recode_values: Recode the values in a vector

Description Usage Arguments Value

View source: R/recode_values.R

Description

Recode the values in a vector

Usage

1
recode_values(x, from, to)

Arguments

x

vector containing values

from

vector containing the unique elements of x

to

values in which the corresponging elements of from needs to be changed in

Value

Returns a vector where the values of x are changed from the values in the vector from to the values in the vector to


DaanNieboer/DCTFmisc documentation built on May 29, 2019, 12:06 a.m.