[R] Change name of a specific column of a data frame

naw3 at duke.edu naw3 at duke.edu
Tue Jul 1 21:17:50 CEST 2008


Sorry for the simple question. Is there a way to change the name of only one
column of an existing data frame?

I know colnames allows you to set the name of all the columns, but only one
column in the middle of my data frame needs a new name.


More information about the R-help mailing list