%.% {echoice2} | R Documentation |
Get the attribute of an object
obj %.% attrname
obj |
The object to get the attribute from. |
attrname |
The name of the attribute to get. |
The attribute of the object.
obj <- list(a = 1, b = 2)
attributes(obj)$test="hello"
`%.%`(obj, "test")