Hi 
   
  have you tried 
  >?aggregate 
   
  eg > df1<-aggregate(mydata, list(mean1=x1,mean2=x2),mean)

		
---------------------------------

	[[alternative HTML version deleted]]


