recode_col: recode column.

Description Usage Arguments Value

View source: R/utilis.R

Description

recode_col recodes a vector with codes provided in another vector. The unique values of the 2 vectors need to be of same length. Codes are assigned matching unique values by position. Used internally.

Usage

1
recode_col(x, repl)

Arguments

x

vector to recode.

repl

vector containing unique codes.

Value

a vector of same length of x.


c1au6i0/covid19census_dev documentation built on May 8, 2020, 1:01 a.m.