| ExposeAttribute {pkgmaker} | R Documentation |
The function ExposeAttribute creates an S3 object
that exposes all attributes of any R object, by making
them accessible via methods $ and/or
$<-.
attr_mode and attr_mode<- get and sets the
access mode of ExposeAttribute objects.
ExposeAttribute(object, ..., .MODE = "rw",
.VALUE = FALSE)
attr_mode(x)
attr_mode(x)<-value
object |
any R object whose attributes need to be exposed |
... |
attributes, and optionally their respective
values or access permissions. See argument |
.MODE |
access mode:
|
.VALUE |
logical that indicates if the values of
named arguments in |
x |
an |
value |
replacement value for mode. It can be
|