extra arguments to generic functions & bug in model.frame
Peter Dalgaard BSA
17 Jun 1998 20:41:35 +0200
Jim Robison-Cox <email@example.com> writes:
> 1. There seems to be a bug in model.frame() using terms() with 2 arguments.
> 2. What is standard practice for setting up instances of a generic function?
> It seems sensible to me that argument lists should not shrink when
> going from the generic function to an instance of that function.
No. There's no limit to what special parameters a specific instance of
a function may implement. So the generic one is generally (x,...).
There's no reason not to allow a specific function to check that it is
getting called with parameters that make sense.
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (firstname.lastname@example.org) FAX: (+45) 35327907
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: email@example.com