[Rd] operators as S4 methods

From: Iago Mosqueira <imosqueira_at_suk.azti.es>
Date: Tue 14 Jun 2005 - 07:23:40 GMT

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

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Jun 14 17:49:55 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:09 GMT