Re: [Rd] super basic questions about S4 classes

2011-04-08 Thread Andreas Borg
Hi Andre, 1. Keep in mind that a S4 method belongs to a specific generic function, not to a specific object or class. There is none such thing as a "class member function" in the S4 system. As an example for illustration, consider the following class definitions in Java: class myClassA { int

[Rd] super basic questions about S4 classes

2011-04-05 Thread A Zege
Apologies for asking something that is probably super obvious, i just started with S4 classes and i guess i am not finding documentation that layout the grammar rules and give enough examples. Some questions i am having are these 1. I understand that main method of writing a member function is to