Skip to content
Prev 106121 / 398506 Next

loop is going to take 26 hours - needs to be quicker!

On 12/14/2006 7:56 AM, Jenny Barnes wrote:
I think the loop above is equivalent to

gpcc.array <- array(gpcc.data2[,5], c(144, 72, 46))

which would certainly be a lot quicker.  You should check that the 
values are loaded in the right order (probably on a smaller example!). 
If not, you should change the order of indices when you create the 
array, and use the aperm() function to get them the way you want afterwards.

Duncan Murdoch