Re: [Rd] median methods

2008-04-27 Thread Rob Hyndman
Brian. The example I have in mind is for functional data where there are several ways to define a median. For example, it can be defined as the pointwise median of a set of functions {f_j(x); j=1,...,n}. Or it can be defined as m(x) = arg min_{g(x)} \sum_j |g(x) - f_j(x)| dx. The latter can be calc

Re: [Rd] median methods

2008-04-26 Thread Prof Brian Ripley
On Sat, 26 Apr 2008, Rob Hyndman wrote: > Can we please have a ... argument in median() to make it possible to pass > arguments to specific methods. 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 so

[Rd] median methods

2008-04-26 Thread Rob Hyndman
Can we please have a ... argument in median() to make it possible to pass arguments to specific methods. _ Rob J Hyndman Professor of Statistics, Monash University Editor-in-Chief, International Journal of Forecasting http://www.robhyndman.info/ [[alternative