I have created an object in R that contains several attributes. How can I easily access them?
I can do:
attr(x, attributeName)
or:
attributes(x)$attributeName
but none of them is really convenient.
Is there a quicker way (like the dot in C++ or Java)?