Learn R Programming

SPSStoR (version 0.3.0)

valuelabels_to_r: Value Labels to R

Description

Converts SPSS value label syntax to R code. Currently only supports adding labels to continuous variables and one variable per value labels command.

Usage

valuelabels_to_r(x, dplyr = TRUE, ...)

Arguments

x
SPSS syntax - read in by SPSStoR function
dplyr
A value of TRUE uses dplyr syntax (default), a value of FALSE uses data.table syntax
...
Additional arguments passed to function, not currently supported.