The R language has native aid for item-oriented programming. There's two native frameworks, the so-referred to as S3 and S4 techniques. The previous, currently being more casual, supports one dispatch on the very first argument and objects are assigned to a class by just placing a "class" attribute in each https://stephentbwrb.blogzet.com/r-programming-project-help-can-be-fun-for-anyone-43278604