Changes between Initial Version and Version 1 of Object Oriented programming with R -S4


Ignore:
Timestamp:
Mar 14, 2012 8:58:12 PM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Object Oriented programming with R -S4

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