i_annotation: add annotation to variable

View source: R/annotation.R

i_annotationR 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


ilabelled documentation built on April 3, 2025, 10:38 p.m.