apply_labs_factor: Apply factor labels to a vector
Description
Apply factor labels to a vector
Usage
apply_labs_factor(x, labels, ...)
Arguments
- x
a vector to label
- labels
a named vector of labels in the format c(value = label)
- ...
unused, needed to ignore extra arguments that may be passed
Details
Dots are needed to ignore ptype
argument that may be passed to apply_labs_haven