Re: [R] Min of

2011-09-13 Thread David Winsemius
On Sep 13, 2011, at 1:17 PM, bradford wrote: With the help of Andrie on StackOverflow.com, I was able to learn about ddply. I have another question that is more trivial and cannot seem to find help on IRC and do not want to bother Andrie again. It's doubtful that he would have considered

[R] Min of

2011-09-13 Thread bradford
With the help of Andrie on StackOverflow.com, I was able to learn about ddply. I have another question that is more trivial and cannot seem to find help on IRC and do not want to bother Andrie again. I can't seem to figure out what to google for, so I thought I'd ask here. I have: library(plyr)

[R] min of array

2008-11-14 Thread Robert
I wanted to get the minimum of an array of dimenstion (nr,nc,6), so the output was of dimension (nr,nc), ie for each row,column the minimum of 6 numbers. I thought apply might be the sensible way, but I also compared it to looping over each row/column. In this case the loop method was faster than