[Rd] dots for sample

From: Claudia Beleites <cbeleites_at_units.it>
Date: Sun, 28 Feb 2010 19:31:42 +0100

Dear R-Developers,

could 'sample' gain a ... argument?

As a convenience function, I added a sample Method to my hyperSpec class. This function however has a flag indicating whether the results should be returned directly as a hyperSpec object or rather as indices that give a random sample.

For the moment, I use SetGeneric to add the dots argument, but this of course gives a warning that the base function sample is overwritten (and my colleagues are almost as scared of warnings as of errors...)



Claudia Beleites
Dipartimento dei Materiali e delle Risorse Naturali
UniversitÓ degli Studi di Trieste
Via Valerio 2
I-34127 Trieste

email: cbeleites_at_units.it
phone: +39 (0 40) 5 58-34 68

R-devel_at_r-project.org mailing list
Received on Sun 28 Feb 2010 - 18:35:18 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 04 Mar 2010 - 10:50:55 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive