clear_labels {reportRmd} | R Documentation |
Clear variable labels from a data frame
Description
This function will remove all label attributes from variables in the data.
Usage
clear_labels(data)
Arguments
data |
the data frame to remove labels from |
Details
To change or remove individual labels use set_labels or set_var_labels
Examples
# Set a few variable labels for ctDNA
ctDNA <- ctDNA |> set_var_labels(
ctdna_status="detectable ctDNA",
cohort="A cohort label")
# Clear all variable data frames and check
clear_labels(ctDNA)
[Package reportRmd version 0.1.0 Index]