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