Remove value and variable labels from vector or data frame
This function removes value and variable label attributes
from a vector or data frame. These attributes are typically
added to variables when importing foreign data (see
read_spss
) or manually adding label attributes
with set_labels
.
remove_all_labels(x)
x |
Vector or |
x
with removed value and variable label attributes.
See vignette Labelled Data and the sjlabelled-Package,
and copy_labels
for adding label attributes
(subsetted) data frames.
data(efc) str(efc) str(remove_all_labels(efc))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.