[R] aggregate and median

2004-12-21 Thread Philippe Hupé
I am trying to use the function aggregate with the median function but I get the following error: Error in FUN(X[[1]], ...) : Argument "INDEX" When I replace median by mean, it works perfectly Can someone tell me where the problem comes from? Thx I am running R 2.0.0 on SunOS 5.9 -- Philippe Hup

Re: [R] aggregate and median

2004-12-21 Thread Petr Pikal
On 21 Dec 2004 at 12:46, Philippe Hupé wrote: > I am trying to use the function aggregate with the median function but > I get the following error: > > Error in FUN(X[[1]], ...) : Argument "INDEX" > > When I replace median by mean, it works perfectly Hi Philippe I suppose that you have some