Re: [Rd] dots for sample --> "implicitGeneric"

2010-03-04 Thread Claudia Beleites
Dear Martin, Martin Maechler wrote: "CB" == Claudia Beleites on Sun, 28 Feb 2010 19:31:42 +0100 writes: CB> Dear R-Developers, CB> could 'sample' gain a ... argument? As you may know, adding '...' also has drawbacks, most notably that you lose automatic checking of correctly spec

Re: [Rd] dots for sample --> "implicitGeneric"

2010-03-04 Thread Martin Maechler
> "CB" == Claudia Beleites > on Sun, 28 Feb 2010 19:31:42 +0100 writes: CB> Dear R-Developers, CB> could 'sample' gain a ... argument? As you may know, adding '...' also has drawbacks, most notably that you lose automatic checking of correctly specified argument names (when t

[Rd] dots for sample

2010-02-28 Thread Claudia Beleites
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.