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

S Ellison S.Ellison at lgc.co.uk
Wed May 9 12:01:50 CEST 2007

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, co...{{dropped}}

More information about the R-devel mailing list