Set variable labels of a data.frame
character vector of variable names
Set variable labels of a data.frame. They will be nicely visible
with 'View()' in Rstudio.
data.frame with labelled variables
cars2 <- set_variable_labels(cars,
labels = c("Speed (mph)", "Stopping distance (ft)"))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.