Re: [R] cbind help

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Fri, 18 Jul 2008 13:19:50 -0300

Try:

names(abc)[3] <- "w"

On Fri, Jul 18, 2008 at 1:08 PM, Rajasekaramya <ramya.victory_at_gmail.com> wrote:
>
> hi there,
>
> I need to change a column name in a dataframe.how do i do that
> eg
> abc<- dataframe
> abc
> x y z
>
> i wanna change the colum z to w.
>
> Ramya
> --
> View this message in context: http://www.nabble.com/cbind-help-tp18532609p18532609.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help_at_r-project.org 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.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

______________________________________________
R-help_at_r-project.org 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.
Received on Fri 18 Jul 2008 - 16:32:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 17:31:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive