clear_labels | R Documentation |
This function will remove all label attributes from variables in the data.
clear_labels(data)
data |
the data frame to remove labels from |
To change or remove individual labels use set_labels or set_var_labels
# Set a few variable labels for ctDNA
data("ctDNA")
ctDNA <- ctDNA |> set_var_labels(
ctdna_status="detectable ctDNA",
cohort="A cohort label")
# Clear all variable data frames and check
clear_labels(ctDNA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.