Description Usage Arguments Examples
Generate SPSS 'RENAME' syntax to rename a (set of) variables into another.
1 | spss.rename(values, rename)
|
values |
the variable(s) to be renamed. |
rename |
the name(s) to use for renaming. |
1 2 | spss.rename(c("oldname1", "oldname2", "oldname3"), c("new1", "new2", "new3"))
spss.rename(c("oldname1", "oldname2"), c("new1", "new2"))
|
[1] "RENAME VARIABLES (oldname1=new1)." "RENAME VARIABLES (oldname2=new2)."
[3] "RENAME VARIABLES (oldname3=new3)."
[1] "RENAME VARIABLES (oldname1=new1)." "RENAME VARIABLES (oldname2=new2)."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.