Peter Dalgaard wrote: > How about > > dim(M) <- c(4,248,74) > mn <- apply(M, c(2,3), mean)
Hey! That's sexy! Much better than my kludgy suggestion! cheers, Rolf ______________________________________________ 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