spss.format.max {syntaxr} | R Documentation |
Generate SPSS 'MAX()' syntax for two (sets of) variables.
Description
Generate SPSS 'MAX()' syntax for two (sets of) variables.
Usage
spss.format.max(var1, var2)
Arguments
var1 |
the first argument for MAX(). |
var2 |
the second argument for MAX(). |
Examples
spss.format.max(c("dob", "income"), c("dob_f", "income_f"))
spss.format.max("income", "income_f")
[Package syntaxr version 0.8.0 Index]