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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to