Description Usage Arguments Examples
Generate SPSS 'STRING' syntax and 'COMPUTE' syntax to compute the CONCAT() of two (sets of) variables.
1 | spss.concat.new(str1, str2, append = "", name = "", ...)
|
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 |
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.