Learn R Programming

SPSStoR (version 0.3.0)

dorepeat_to_r: Do Repeat to R

Description

Converts SPSS do repeat statements to valid do repeat statements in R.

Usage

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