powered by
rename(x, replace)
x <- c("a" = 1, "b" = 2, d = 3, 4) rename(x, c("d" = "c")) rename(mtcars, c("disp" = "displ"))
Run the code above in your browser using DataLab