spssdictionary.GetVariableFormatType Function (R)

spssdictionary.GetVariableFormatType(variable). Returns the integer type code associated with the display format for the specified variable in the active dataset. The argument is the name of the variable in quotes or the index value of the variable. Index values represent position in the active dataset, starting with 0 for the first variable in file order.

Example

varformat <- spssdictionary.GetVariableFormatType(0)