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
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)
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
3 matches
Mail list logo