label
add_label.Rd
Add a label attribute to a vector
add_label(data, label)
Vector-like object.
Label text.
data with a label attribute.
data
add_label(1:3, "Example variable") #> [1] 1 2 3 #> attr(,"label") #> [1] "Example variable"