When importing data from SPSS, it is a nice feature of the package foreign that it allows (option use.value.labels=F) to work with the original SPSS codes while keeping the value labels as information in an attribute. Unfortunately, after merging or subsetting, these attributes disappear. The code below illustrates the problem: Variable time originally has value labels that are gone after merging or subsetting.
It would be very helpful, if this could be changed. With kind regards, Ulrike ------------------------------- Ulrike - see the spss.get, label, contents, and describe functions in the Hmisc package. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel