View source: R/generate_helpers.R
| rename_label | R Documentation |
Rename data labels
rename_label(data, ...)
data |
A data frame or tibble to rename labels in. |
... |
A named list of labels to rename. The names should match the column names in the data, and the values should be the new labels. |
A data frame or tibble with the specified labels renamed.
person_record |>
generate_frequency(
seeing,
hearing,
walking,
remembering,
self_caring,
communicating
) |>
collapse_list() |>
rename_label(category = "Functional difficulty")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.