Skip to content
Prev 28573 / 63468 Next

median methods

On Sat, 26 Apr 2008, Rob Hyndman wrote:

            
Not without a reasoned case -- see 'Writing R Extensions' as to why it is 
a non-trivial change that affects all existing methods (and there are 
some) -- also S4 setMethod("median") calls (which there are too).

There is also an argument as to where the ... should come -- probably

function (x, ..., na.rm = FALSE)

(but that could break some existing calls), and why should na.rm be on the 
generic as well (it is not for mean nor quantile, for example)?

So there have to be some pretty compelling arguments in favour.
Hmm, we do explicitly ask you not to do send that.