Learn R Programming

SPSStoR (version 0.3.0)

define_to_r: Define to R

Description

Converts SPSS define statements to valid define statements in R.

Usage

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