Skip to content
Prev 227401 / 398500 Next

Rename column or row names

this isn't a whole lot different, but if x is a data.frame (and not a
matrix), you could also try this:

names(x)[which(names(x)=="oldname")]= "newname"