label()
gets the attached label to an object.
Value
The label attribute (string) associated with object passed in x
or
NULL
if the label attribute does not exist.
Examples
label(1)
#> NULL
label(with_label(1, "my label"))
#> [1] "my label"
label()
gets the attached label to an object.
The label attribute (string) associated with object passed in x
or
NULL
if the label attribute does not exist.
label(1)
#> NULL
label(with_label(1, "my label"))
#> [1] "my label"