remove_label {sjlabelled} | R Documentation |
Remove variable labels from variables
Description
Remove variable labels from variables.
Usage
remove_label(x, ...)
Arguments
x |
A vector or data frame. |
... |
Optional, unquoted names of variables that should be selected for
further processing. Required, if |
Value
x
with removed variable labels
See Also
set_label
to manually set variable labels or
get_label
to get variable labels; set_labels
to
add value labels, replacing the existing ones (and removing non-specified
value labels).
Examples
data(efc)
x <- efc[, 1:5]
get_label(x)
str(x)
x <- remove_label(x)
get_label(x)
str(x)
[Package sjlabelled version 1.2.0 Index]