Learn R Programming

table1 (version 1.1)

label: Label attribute.

Description

Label attribute.

Usage

label(x)

label(x) <- value

has.label(x)

Arguments

x

An object.

value

A character specifying the label.

Functions

  • label<-: Set label attribute.

  • has.label: Check for label attribute.

Examples

Run this code
# NOT RUN {
x <- 1:10
label(x) <- "Foo"
has.label(x)
label(x)
# }

Run the code above in your browser using DataLab