[R] aggregate and median

Philippe Hupé Philippe.Hupe at curie.fr
Tue Dec 21 12:46:00 CET 2004


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é
UMR 144 - Service Bioinformatique
Institut Curie
Laboratoire de Transfert (4ème étage)
26 rue d'Ulm
75005 Paris - France
 	
Email :  Philippe.Hupe at curie.fr
Tél :	 +33 (0)1 44 32 42 75
Fax :  	 +33 (0)1 42 34 65 28




More information about the R-help mailing list