Learn R Programming

formatters (version 0.5.0)

lab_name: Label, Name and Format accessor generics

Description

Getters and setters for basic, relatively universal attributes of "table-like" objects"

Usage

obj_name(obj)

obj_name(obj) <- value

obj_label(obj)

obj_label(obj) <- value

# S4 method for ANY obj_label(obj)

# S4 method for ANY obj_label(obj) <- value

obj_format(obj)

# S4 method for ANY obj_format(obj)

obj_format(obj) <- value

# S4 method for ANY obj_format(obj) <- value

obj_na_str(obj)

# S4 method for ANY obj_na_str(obj)

obj_na_str(obj) <- value

# S4 method for ANY obj_na_str(obj) <- value

Value

the name, format or label of obj for getters, or obj after modification for setters.

Arguments

obj

ANY. The object.

value

character(1). The new label

See Also

with_label