[Rd] Wishlist: merge and subset to keep attributes (PR#8658)
Frank E Harrell Jr
f.harrell at vanderbilt.edu
Sun Mar 5 15:24:04 CET 2006
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
More information about the R-devel
mailing list