I have a data.frame with variables var1 var2 (both strings) and variables x, y, and z. I would like
data.frame
var1
var2
x
y
z
Building on @akrun's answer, you can also use the first() function from dplyr:
first()
dplyr
df_ %>% mutate_at(vars(c("x", "y", "z")), funs(norm = ./first(.)))