revscale: Reverse escale.

Description Usage Arguments Value Examples

View source: R/revscale.R

Description

Reverse escale.

Usage

1
revscale(dat, var, nvar)

Arguments

dat

Data.table or data.frame object.

var

Character or vector of character with variables names to transform.

newvar

Character or vector of character with the name of new variables.

Value

Data.table object with transformed variables.

Examples

1
revscale(dat, "var", "newvar")

sdaza/sdazar documentation built on May 29, 2019, 4:20 p.m.