Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


SPSStoR (version 0.3.0)

recode_to_r: Recode to R

Description

Converts SPSS recode statements to valid recode statements in R.

Usage

recode_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.

Details

This function returns a matrix that highlights R syntax that mimics the analysis done in SPSS.