names(data) <- c('Apple', 'Orange')
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Johnsons
> Sent: Monday, September 11, 2006 12:49 PM
> To: [email protected]
> Subject: [R] rename cols
>
> A quick question please!
>
> How do you rename column names? i.e. V1 --> Apple; V2 -->
> Orange, etc.
>
> thx much
>
> ej
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] mailing list
> 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.
>
______________________________________________
[email protected] mailing list
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.