# NOT RUN {
# Set variable labels for data frame
dummy <- data.frame(a = sample(1:4, 10, replace = TRUE),
b = sample(1:4, 10, replace = TRUE),
c = sample(1:4, 10, replace = TRUE))
var_rename(dummy, a = "first.col", c = "3rd.col")
# }
Run the code above in your browser using DataLab