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

From: Greg Snow <>
Date: Wed, 09 May 2007 10:51:16 -0600

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
(801) 408-8111

> -----Original Message-----
> From:
> [] On Behalf Of S Ellison
> Sent: Wednesday, May 09, 2007 4:02 AM
> To:
> 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}}
______________________________________________ mailing list
Received on Wed 09 May 2007 - 16:55:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 May 2007 - 06:34:31 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.