Skip to content
Prev 106180 / 398506 Next

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

Ben,

Unless I misunderstand your question, why not just use

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