spss.concat.new: Generate SPSS 'STRING' syntax and 'COMPUTE' syntax to compute...

Description Usage Arguments Examples

Description

Generate SPSS 'STRING' syntax and 'COMPUTE' syntax to compute the CONCAT() of two (sets of) variables.

Usage

1
spss.concat.new(str1, str2, append = "", name = "", ...)

Arguments

str1

the first argument for CONCAT(). Used for the naming of the output variable(s).

str2

the second argument for CONCAT().

append

specifies the text that should be appended to the name(s) of the variable(s) in str1 to create the output variable(s). Defaults to an empty string.

name

specifies the name of the new String variable to be created. Defaults to an empty string ; if left unspecified, the function will use the append parameter.

...

any additional arguments that can be passed to functions spss.string and spss.compute.concat

Examples

1
2
spss.concat.new(c("dob", "income"), c("dob_f", "income_f"), append = "total.")
spss.concat.new(c("dob", "income"), c("dob_f", "income_f"))

syntaxr documentation built on May 2, 2019, 3:45 a.m.