Re: [R] newbie question: ROW average

From: Rolf Turner <>
Date: Mon 29 May 2006 - 21:59:07 EST

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



______________________________________________ mailing list PLEASE do read the posting guide! Received on Mon May 29 22:04:24 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 May 2006 - 00:10:23 EST.

Mailing list information is available at Please read the posting guide before posting to the list.