powered by
data.frame
Relabel a subset of the variables.
var_relabel(x, ...)
A copy of x with labels modified according to ...
x
...
(data.frame) a data frame object.
name-value pairs, where each name corresponds to a variable name in x and the value to the new variable label.
x <- var_relabel(iris, Sepal.Length = "Sepal Length of iris flower") var_labels(x)
Run the code above in your browser using DataLab