From f.harrell at vanderbilt.edu  Sun Mar  5 15:24:04 2006
From: f.harrell at vanderbilt.edu (Frank E Harrell Jr)
Date: Sun, 05 Mar 2006 08:24:04 -0600
Subject: [Rd]  Wishlist: merge and subset to keep attributes (PR#8658)
Message-ID: <440AF484.4040407@vanderbilt.edu>

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



[Rd] Wishlist: merge and subset to keep attributes (PR#8658)
Frank E Harrell Jr