From kjetilh@umsanet.edu.bo  Wed May 23 20:39:09 2001
From: kjetilh@umsanet.edu.bo (kjetil halvorsen)
Date: Wed, 23 May 2001 15:39:09 -0400
Subject: [Rd] New generic functions in "R base" {was `truncate'}
References: <Pine.LNX.3.96.1010523203540.2129A-500000@luthien.ci.tuwien.ac.at>
Message-ID: <3B0C11DD.501B427E@umsanet.edu.bo>



Gregory Warnes wrote:
> 
> 1) What are the issues with making _existing_ functions in base into
> generics?
> 
> EG, I've recently become annoyed that plot() is a generic which can be
> applied to a formula:
> 
>         plot( outcome ~ predictor)
> 
> but functions like points, lowess, etc are not generic or don't have
> methods defined for formulae.  I've created a points.formula() and a
> generic lowess(), lowess.default(), and lowess.formula().

lowess is supposed to handle formulas and will do so when the 
scope error in xy.coords is corrected.

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


[Rd] New generic functions in "R base" {was `truncate'}
kjetil halvorsen