[R] Methods dispatch and inheritance R.oo
Yuri Volchik
yuri.volchik at gmail.com
Thu Nov 6 11:12:04 CET 2008
Thanks for reply Henrik, seems obvious now.
Can child class (B) access argument of the parent class, i.e. can i rewrite
definition of the class B as
setConstructorS3("ClassB", function() {
extend(ClassA(), "ClassB",
.size2 = A
);
})
it didn't work for me, so guess i'm doing smth wrong and i couldn't find any
reference on inheritance in the help files.
--
View this message in context: http://www.nabble.com/Methods-dispatch-and-inheritance-R.oo-tp20339090p20358341.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list