View source: R/drop_unused_value_labels.R
drop_unused_value_labels | R Documentation |
Drop value labels associated to a value not present in the data.
drop_unused_value_labels(x)
x |
A vector or a data frame. |
x <- labelled(c(1, 2, 2, 1), c(yes = 1, no = 2, maybe = 3))
x
drop_unused_value_labels(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.