From cbeleites at units.it  Sun Feb 28 19:31:42 2010
From: cbeleites at units.it (Claudia Beleites)
Date: Sun, 28 Feb 2010 19:31:42 +0100
Subject: [Rd] dots for sample
Message-ID: <4B8AB68E.2090404@units.it>

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...)

Thanks,

Claudia



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

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



[Rd] dots for sample
Claudia Beleites