Learn R Programming

syntaxr (version 0.8.0)

spss.format.max: 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

Run this code
# NOT RUN {
spss.format.max(c("dob", "income"), c("dob_f", "income_f"))
spss.format.max("income", "income_f")
# }

Run the code above in your browser using DataLab