Description Usage Arguments Value Author(s)
Usually, variable and value labels are lost if ASCII data is imported into SPSS. Variable and value labels normally must be reestablished using SPSS syntax file. The function prepares an SPSS syntax snippet from the variable and value lables stored as attributes in R.
1 | createSpssSyntaxSnippet(dat , file, keep = TRUE)
|
dat |
R data frame. Variable and value labels must be stored in attributes as provided, for example,
by the function |
file |
Character string with the name of syntax file which should be created. |
keep |
Logical: Create value labels even if the value does not occur in the data? For example, if
|
No return, the SPSS syntax file is written to disk.
Sebastian Weirich
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.