ExposeAttribute | 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 $<-
.
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 |
ExposeAttribute
returns an S3 object of class ExposeAttribute
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.