© 2023 Hashnode
#r-programming
R supports the features of object-oriented programming. Actually, R treats everything as an object. An R object refers to a data structure with attributes and methods that act on the attributes. A class is a blueprint of an object. Think of…