powered by
This function will remove all label attributes from variables in the data.
clear_labels(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 ctDNA <- ctDNA |> set_var_labels( ctdna_status="detectable ctDNA", cohort="A cohort label") # Clear all variable data frames and check clear_labels(ctDNA)
Run the code above in your browser using DataLab