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.
1 2 3 4 5 6 | 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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.