[R] Better way to change the name of a column in a dataframe?

Benjamin Tyner btyner at stat.purdue.edu
Thu Dec 14 22:23:10 CET 2006


Ben,

Unless I misunderstand your question, why not just use

names(frame)[3]<-"col3"



More information about the R-help mailing list