[Rd] operators as S4 methods
Iago Mosqueira
imosqueira at suk.azti.es
Tue Jun 14 09:23:40 CEST 2005
Dear all,
I need to re-define some mathematical operators (+, *, /, etc) for an S4
class based on array. All references I have found (S Programming, Green
Book) show how to define S3 methods for this (like in page 89 of S
Programming for "-.polynomial"). What is the preferred S4 way for doing
this? I hope I haven't missed some obvious piece of documentation.
Many thanks,
Iago Mosqueira
More information about the R-devel
mailing list