i_labels {ilabelled}R Documentation

set value labels

Description

set value labels

Usage

i_labels(x, ..., overwrite = FALSE)

Arguments

x

vector

...

set labels for values (e.g. label_of_choice = 1 or "Label of Choice" = 1); remove single label with NULL = value (e.g. NULL = 1); removes all value labels when only NULL (e.g. i_label(x, NULL))

overwrite

should new labels be merged with existing labels or remove existing labels

Value

returns x with value labels applied


[Package ilabelled version 0.9.0 Index]