From jlindsey@luc.ac.be  Wed Nov 12 09:03:59 1997
From: jlindsey@luc.ac.be (Jim Lindsey)
Date: Wed, 12 Nov 1997 10:03:59 +0100 (MET)
Subject: R-alpha: NextMethod
Message-ID: <9711120903.AA19776@alpha.luc.ac.be>

Here is something that I am sure has been discussed before, but I
don't understand what is going on.
  I am building some functions for ordinal variables on top of the glm
class. Take one with class lmov as well as glm and lm in that order.
In summary.lmov and print.lmov, is print out some information and then
use NextMethod. summary works fine in all cases. However, if z has
class lmov, print(z) works fine but just typing the name, z, prints
out what I want in print.lmov and then says it cannot find print.lmov
instead of using print.glm (which it finds when print(z) is used).
  Jim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


R-alpha: NextMethod
Jim Lindsey