[R] partial matching and dots?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Oct 6 07:46:45 CEST 2008


On Sun, 5 Oct 2008, roger koenker wrote:

> I'm writing a new predict method and would like to be able to pass an 
> argument
> called "se"  via the "..." mechanism.  However, predict has a "se.fit" 
> argument that

But it doesn't!  Some of its methods such as predict.lm and predict.glm 
do.  So without a more complete example it is hard to know exactly what 
the issue is.

> wants to interpret my specification of "se" as a partially matched  version 
> of se.fit.
> Surely there a standard treatment for this ailment, but I can't seem to find 
> it.

Pass se.fit as well as se to the methods concerned.  To do this you may 
need to check that se.fit is not part of ... .

>
> url:    www.econ.uiuc.edu/~roger                Roger Koenker
> email   rkoenker at uiuc.edu                       Department of Economics
> vox:    217-333-4558                            University of Illinois
> fax:    217-244-6678                            Champaign, IL 61820
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list