add_label: Add a 'label' attribute to a vector

View source: R/add_label.R

add_labelR Documentation

Add a label attribute to a vector

Description

Add a label attribute to a vector

Usage

add_label(data, label)

Arguments

data

Vector-like object.

label

Label text.

Value

data with a label attribute.

Examples

add_label(1:3, "Example variable")

melidosData documentation built on April 22, 2026, 5:09 p.m.