R/ff_label.R
ff_label.Rd
Label a variable
ff_label(.var, variable_label) finalfit_label(.var, variable_label)
Quoted variable name
Quoted variable label
Labelled variable
extract_variable_label ff_relabel
extract_variable_label
ff_relabel
colon_s$sex.factor %>% ff_label("Sex") %>% str() #> Factor w/ 2 levels "Female","Male": 2 2 1 1 2 1 2 2 2 1 ... #> - attr(*, "label")= chr "Sex"