spss.string {syntaxr}R Documentation

Generate SPSS 'STRING' syntax to create a variable of type string.

Description

Generate SPSS 'STRING' syntax to create a variable of type string.

Usage

spss.string(names, string.format = "A15")

Arguments

names

the name(s) of the variable(s) to be created.

string.format

specifies the formatting to use when creating the string variable. Defaults to "A15".

Examples

spss.string("my.string")
spss.string("long.string", string.format = "A40")

[Package syntaxr version 0.8.0 Index]