back to first page..
back to Work program - Spain
Object Oriented programming with R - S4
Object is a set of variables and functions = slot
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
Last modified 13 years ago
Last modified on Mar 14, 2012 8:58:12 PM