BASE$set_attr | R Documentation |
This function sets the value of an attribute or a method.
BASE$set_attr(attr_name, attr_val)
attr_name |
Character. Attribute name. |
attr_val |
Any value. |
Return the object itself.
test <- BASE$instantiate()
test$set_attr("x", 1)
test$x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.