convertLabel {eatModel} | R Documentation |
By default, 'read.spss' from the foreign package uses variable.labels
as attributes of the whole data.frame, value.labels as attribute of each specific
variable in the data.frame. convertLabel
provides variable and value
labels as variable attributes.
convertLabel(spssList , stringsAsFactors = TRUE, useZkdConvention = TRUE, replaceSpecialSigns = TRUE)
spssList |
An object created by 'read.spss'. Important: Using 'read.spss', |
stringsAsFactors |
Transform character variables into factors? |
useZkdConvention |
Logical: Use ZKD convention, i.e. variable.labels are named 'varLabel', value.labels are named 'valLabel'. |
replaceSpecialSigns |
Logical: Replace special signs (non-ASCII characters)? |
data frame.
Sebastian Weirich