[R] variable and value labels

Frank E Harrell Jr f.harrell at vanderbilt.edu
Wed Jul 11 14:50:45 CEST 2007


Steve Powell wrote:
> Dear list
> I am new here - enjoying the power of R compared to SPSS.
> Looking for sets of tips and tricks for people with old SPSS habits.
> In particular, would like to know an easy way to set variable labels 
> across a dataset and to set value labels for sets of variables.
> Grateful for any help,
> Steve Powell

In the Hmisc package see the functions spss.get, label, upData, and 
describe.
Frank

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list