Skip to content
Prev 106188 / 398506 Next

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

Hi,

names(frame)[names(frame) == "cmlo3"] <- "col3"

should also work

Cheers

Andrew
On Thu, Dec 14, 2006 at 05:05:20PM -0500, Mike Prager wrote: