R/with_label.R
with_label.Rd
Add a label attribute to an object
with_label(x, label)
An R object.
A label provided as a single string.
x labeled by label.
x
label
label()
label(1) #> NULL label(with_label(1, "my label")) #> [1] "my label"