[R] Column names of a data frame
sdavis2 at mail.nih.gov
Thu Aug 26 11:57:22 CEST 2004
On Aug 26, 2004, at 5:31 AM, michael watson (IAH-C) wrote:
> I'm coming out with all the classic problems today ;-)
> Can anyone tell me how to change the column names of an already
> data frame? I've read the docs for ?data.frame and ?as.data.frame but
> can't figure it out.
> I want to make a new data.frame from some of the columns of an existing
> data.frame, but when I do that, the new data.frame columns have the
> names as the old data.frame's columns, and I want them to be
> Sorry for the lame question....
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help