[Rd] contour as a generic function?

Prof Brian Ripley ripley@stats.ox.ac.uk
Wed, 21 Nov 2001 10:16:44 +0000 (GMT)


On Wed, 21 Nov 2001, Paulo Justiniano Ribeiro Jr wrote:

> After "image" and "persp" would it be interesting to als have contour as a
> generic function?

Interesting if you (or anyone else) has a need for it.  We try not to
make functions generic until it is needed.

I presume you would want

contour <- function (x, ...) UseMethod("contour")

?

Brian

-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._