lbl_clean | R Documentation |
Remove labels that do not appear in the data.
lbl_clean(x)
x |
A |
A haven::labelled vector
Other lbl_helpers:
lbl_add()
,
lbl_collapse()
,
lbl_define()
,
lbl_na_if()
,
lbl_relabel()
,
lbl()
,
zap_ipums_attributes()
x <- haven::labelled( c(1, 2, 3, 1, 2, 3, 1, 2, 3), c(Q1 = 1, Q2 = 2, Q3 = 3, Q4= 4) ) lbl_clean(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.