[R] adding a method to a class

demolombe demolomb at ensam.inra.fr
Tue Sep 10 16:21:08 CEST 2002


Hello,

I don't see how to add a method to a class.
I can add "slots" (and retreive them by : myObject at slot1)
but not methods, for example accessor for these slots
and others functions.

I've read the "methods" library documentation but I can't figure out how to
do this.
Thanks for any help/tips
Vincent


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list