User-Created Functions, Scripts, and S4 Methods
Margot Tollefson · Apress eBooks · 2019
User-created functions and scripts often make the life of an R user easier. If a repetitive task involves several different lines of code, creating a function or script to do the task saves time. In S4, methods for generic functions are the functional side of S4 and require special treatment.