ReverseThis: Reverse-code a variable

Description Usage Arguments Value Author(s) Examples

View source: R/ReverseThis.R

Description

Reverse-code a variable

Usage

1

Arguments

var

A numeric or factor variable.

Value

A reverse-coded version of var.

Author(s)

Jonah Gabry <jsg2201@columbia.edu>

Examples

1
2
x <- c(1,1,1,2,3,3)
ReverseThis(x)

jgabry/QMSS_package documentation built on May 19, 2019, 7:18 a.m.