class {reflections} | R Documentation |
R possesses a simple generic function mechanism which
can be used for an object-oriented style of programming.
Method dispatch takes place based on the class of the
first argument to the generic function.
class(x);