Re: [R] aggregate data.frame using column-specific functions

From: justin bem <justin_bem_at_yahoo.fr>
Date: Thu 16 Feb 2006 - 03:09:32 EST


Hi    

  have you tried
>?aggregate
   

  eg > df1<-aggregate(mydata, list(mean1=x1,mean2=x2),mean)                 


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 16 03:14:53 2006

This archive was generated by hypermail 2.1.8 : Thu 16 Feb 2006 - 16:10:02 EST