From Greg.Snow at intermountainmail.org  Wed May  9 18:51:16 2007
From: Greg.Snow at intermountainmail.org (Greg Snow)
Date: Wed, 9 May 2007 10:51:16 -0600
Subject: [Rd] One for the wish list - var.default etc
In-Reply-To: <s641aa32.094@tedmail2.lgc.co.uk>
Message-ID: <07E228A5BE53C24CAD490193A7381BBB9AA2FB@LP-EXCHVS07.CO.IHC.COM>

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}}



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