[R] rename cols

Anupam Tyagi AnupTyagi at yahoo.com
Mon Sep 11 19:04:01 CEST 2006


Ethan Johnsons <ethan.johnsons <at> gmail.com> writes:

> 
> A quick question please!
> 
> How do you rename column names?  i.e. V1 --> Apple; V2 --> Orange, etc.

There are some nice utilities in Frank Harrell's Hmisc package. See:
http://lib.stat.cmu.edu/S/Harrell/help/Hmisc/html/upData.html
Also look at his Design library.



More information about the R-help mailing list