Skip to contents

R replacement form of set_label(). label(x) <- value stores value (coerced to character) in x's internal label slot; setting to NULL clears the label. Equivalent to x <- set_label(x, value).

Usage

label(x) <- value

Arguments

x

An Expression object.

value

A character string, or NULL to clear.

Value

x, invisibly, with the label updated.