Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r rename columns

library(plyr)
rename(d, c("beta"="two", "gamma"="three"))
#>   alpha two three
#> 1     1   4     7
#> 2     2   5     8
#> 3     3   6     9
Source by www.cookbook-r.com #
 
PREVIOUS NEXT
Tagged: #rename #columns
ADD COMMENT
Topic
Name
1+6 =