spss.rename: Generate SPSS 'RENAME' syntax to rename a (set of) variables...

Description Usage Arguments Examples

Description

Generate SPSS 'RENAME' syntax to rename a (set of) variables into another.

Usage

1
spss.rename(values, rename)

Arguments

values

the variable(s) to be renamed.

rename

the name(s) to use for renaming.

Examples

1
2
spss.rename(c("oldname1", "oldname2", "oldname3"), c("new1", "new2", "new3"))
spss.rename(c("oldname1", "oldname2"), c("new1", "new2"))

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