Re: [Rd] setMethod() and log()

2006-08-30 Thread Martin Morgan
Hi Robin, from reading ?Math: Note: currently those members which are not primitive functions must have been converted to S4 generic functions (preferably _before_ setting an S4 group generic method) as it only sets methods for known S4 generics. This can be done by a call to

[Rd] setMethod() and log()

2006-08-30 Thread Robin Hankin
Hi I am having difficulty with setMethod(). I have a "brob" class of objects whose representation has two slots: "x" and "positive". Slot "x" (double) holds the log of a number and slot "positive" (logical) its sign. The idea is that large numbers can be handled. I'm trying to implemen