back to first page[..][[BR]] back to ["Work program - Spain"][[BR]] = Object Oriented programming with R - S4 = Object is a set of variables and functions = slot [[BR]] We need : - to define the object --> setClass and type the object - to define the function --> setMethod Oriented object programmation: - prevent to add a character to a numeric - allows to check if the object follow some rules - enable to define one object like Inherit from the properties of another object, thus becoming its son --> contains - allow to define all the tools concerning the object and to lock them up in blockss, without habing to look after anymore = encapsulation