add_labels {metatools} | R Documentation |
This function allows a user to apply several labels to a dataframe at once.
add_labels(data, ...)
data |
A data.frame or tibble |
... |
Named parameters in the form of variable = 'label' |
data with variable labels applied
add_labels(
mtcars,
mpg = "Miles Per Gallon",
cyl = "Cylinders"
)