Methods belong to generic functions , not the objects themselves. When you call plot(x) , R looks at the class of x and decides which plot method to run.
S3 is R’s original, informal OOP system. It is essentially a list with a "class" attribute. Advanced Object-Oriented Programming in R: Stat...
Massive, interconnected systems like the Bioconductor project where data integrity is paramount. Methods belong to generic functions , not the
Methods belong to the object . You call them using the $ operator (e.g., my_object$do_something() ). The Core Systems 1. S3: The Pragmatic Standard Methods belong to generic functions
Advanced Object-Oriented Programming in R: Strategic Selection
The first step in strategic selection is understanding the fundamental divide in R’s approach to objects: