[Rd] One for the wish list - var.default etc

Greg Snow Greg.Snow at intermountainmail.org
Wed May 9 18:51:16 CEST 2007

The vcov function in package stats is already a generic, could you write
your methods for vcov rather than for var?

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111

> -----Original Message-----
> From: r-devel-bounces at r-project.org 
> [mailto:r-devel-bounces at r-project.org] On Behalf Of S Ellison
> Sent: Wednesday, May 09, 2007 4:02 AM
> To: r-devel at r-project.org
> Subject: [Rd] One for the wish list - var.default etc
> I was working on a permutation-like variant of the bootstrap 
> for smaller samples, and wanted to be able to get summary 
> stats of my estimator conveniently. mean() is OK as its a 
> generic, so a mean.oddboot function gets used automatically. 
> But var, sd and others are not originally written as generic; 
> they have to be explicitly masked by a package or new declaration.
> It would have been nice if stats::var was a generic to make 
> it more easily extensible... one for the wish list?
> Steve Ellison
> *******************************************************************
> This email and any attachments are confidential. Any use,\...{{dropped}}

More information about the R-devel mailing list