i_annotation {ilabelled}R Documentation

add annotation to variable

Description

add annotation to i_labelled object

can be used to store additional information about a variable

Usage

i_annotation(x, annotation, overwrite = FALSE)

Arguments

x

vector

annotation

variable label as string or NULL (NULL will remove label)

overwrite

overwrite existing annotation and replace with new annotation

Value

x with annotation applied


[Package ilabelled version 0.9.0 Index]