RecodeDT: Recoding variables in data.table

Description Usage Arguments

View source: R/datatable.R

Description

Recoding variables in data.table

Usage

1
RecodeDT(d, switch, var, oldOnLeft = TRUE)

Arguments

d

a

switch

a vector coded like: c("old"="new")

var

a

oldOnLeft

a


raubreywhite/RAWmisc documentation built on Dec. 17, 2018, 9:11 a.m.