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 [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of S Ellison > Sent: Wednesday, May 09, 2007 4:02 AM > To: r-devel@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}} ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel