From bolker at zoo.ufl.edu  Tue Dec 19 22:58:54 2006
From: bolker at zoo.ufl.edu (Ben Bolker)
Date: Tue, 19 Dec 2006 21:58:54 +0000 (UTC)
Subject: [Rd] question about trailing arguments in an S4 method
References: <458446F1.40403@zoo.ufl.edu> <m2mz5n5qse.fsf@ziti.local>
	<7098abec0612161857v61307a18ncbf358751a553b88@mail.gmail.com>
Message-ID: <loom.20061219T225730-259@post.gmane.org>

Byron Ellis <byron.ellis <at> gmail.com> writes:

> 
> He wants to specify arguments to AIC that act like the "k" argument
> and is thinking of faking it by, essentially, doing another round of
> argument matching on ...
> 
> I think that if you define an S4 generic that only dispatches on the
> first argument you may be able to do it for a specific method. On the
> bright side, the new documentation for AIC would take precedence over
> the stats documentation so the users couldn't actually complain about
> the method not matching the documentation.
>

  I think I'll bite the bullet and define a separate
"AICtab" function that takes a list of objects and
produces an AIC table.

  thanks, all

   Ben  Bolker



[Rd] question about trailing arguments in an S4 method
Ben Bolker