search for: tp18579577p18579577

Displaying 1 result from an estimated 1 matches for "tp18579577p18579577".

2008 Jul 21
4
how to speed up this for loop?
...om FN to LN, excluding positive values, for each row. #sum between FN and LN, excluding positive values for(i in 1:R){ for(j in FN[i]:LN[i]){ if(Temp[i,j]<0) sum[i] <- sum[i] + sum(Temp[i,j])}} Cheers, R -- View this message in context: http://www.nabble.com/how-to-speed-up-this-for-loop--tp18579577p18579577.html Sent from the R help mailing list archive at Nabble.com.