On Fri, 9 Feb 2007, Frank E Harrell Jr wrote:
[...]
> I looked in all the code for the Hmisc and Design packages and didn't find a
> single example where pmin or pmax did not have 2 arguments. So I think it is
> important to have pmin2 and pmax2.
Why? Do you have any reason to suppose that these will be significantly
faster than the general case of 1 or more arguments? (The current code
fails obscurely for 0 args.)
What I am playing with are fast internal pmin.int and pmax.int for the
case of all atomic vectors and no classes.
--
Brian D. Ripley, ripley@(protected)
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
______________________________________________
R-help@(protected)
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.