ll_var_label: Get or set variable label of a labelled variable

View source: R/labelled_light.R

ll_var_labelR Documentation

Get or set variable label of a labelled variable

Description

Gets or sets the variable label (label 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.

Usage

ll_var_label(x)

ll_var_label(x) <- value

Arguments

x

A labelled variable

See Also

Other labelled light: ll_assert_labelled(), ll_labelled(), ll_to_character(), ll_val_labels(), threadbare()


zmisc documentation built on Aug. 22, 2023, 5:07 p.m.