Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] rename cols

Anupam Tyagi

2006-09-11

Replies:

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.

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
©2008 r-help.com - Jax Systems, LLC, U.S.A.