Description Usage Arguments Details Value Examples
Set variable labels of a data.frame
1 |
df |
data.frame |
labels |
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
1 2 | cars2 <- set_variable_labels(cars,
labels = c("Speed (mph)", "Stopping distance (ft)"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.