Rename data frame column
To change the name of a column in a data.frame
Make example data.frame
aa = data.frame(a=1:6, b=5:10)
Rename
names(aa)[names(aa)=="a"] = "c"
To change the name of a column in a data.frame
Make example data.frame
aa = data.frame(a=1:6, b=5:10)
Rename
names(aa)[names(aa)=="a"] = "c"