Description Usage Arguments Details Value See Also Examples
The at-sign, '@', is normally used with S4 objects for slot access. These functions allow the use of infix @ on non-S4 objects to get and set attributes.
1 2 3 |
object |
A non-S4 object. |
name |
The character-string name of the attribute to access, quoted or not. |
value |
The value of the attribute to be set. |
The right-hand-side of the @ operator (the name
argument)
need not be quoted. It is converted to a literal character string
by computation on the language using match.call
. Attribute
names must be matched exactly.
These functions check whether their left-hand argument is an S4
object, and if so, pass it through to the slot
function,
leaving the original use of @ for slot access unaffected.
The value of the attribute.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.