powered by
Label attribute.
label(x)label(x) <- valuesetLabel(x, value)has.label(x)
label(x) <- value
setLabel(x, value)
has.label(x)
An object.
A character specifying the label.
character
label<-: Set label attribute.
label<-
setLabel: Set label attribute.
setLabel
has.label: Check for label attribute.
has.label
x <- 1:10 label(x) <- "Foo" x <- setLabel(x, "Foo") # Alternative syntax has.label(x) label(x)
Run the code above in your browser using DataLab