[R] Column names of a data frame
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Thu Aug 26 11:31:26 CEST 2004
I'm coming out with all the classic problems today ;-)
Can anyone tell me how to change the column names of an already existing
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 same
names as the old data.frame's columns, and I want them to be
different....
Sorry for the lame question....
More information about the R-help
mailing list