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.
Reference Classes are built into base R and function similarly to R6 but are built on top of S4. Advanced Object-Oriented Programming in R: Stat...
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 , not the