View source: R/labelled_light.R
| ll_val_labels | R Documentation |
Gets or sets the value labels (labels attribute) of a labelled vector. The
getters/setters should be used rather than manipulating attributes directly,
since these functions perform checks to ensure that the result, and the
resulting labelled variable, are valid.
ll_val_labels(x, always = FALSE)
ll_val_labels(x) <- value
x |
A labelled variable |
always |
Always return at least an empty vector of the correct type, even if the attribute is not set. |
Other labelled light:
ll_assert_labelled(),
ll_labelled(),
ll_to_character(),
ll_var_label(),
threadbare()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.