Converts SPSS match files statements to valid match files statements in R.
Usage
matchfiles_to_r(x, dplyr = TRUE, nosave = FALSE)
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
nosave
A value of FALSE processes the save commands (default),
a value of TRUE continues processing within R, overriding
default x object. Extreme care with this feature as
get commands will be ignored.
Details
This function returns a matrix that highlights R syntax that mimics
the analysis done in SPSS.