search for: tp2955912p2956274

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

2010 Oct 05
3
Make a loop more efficient
Hello everyone I need some advice if the following might be easier implemented. There are n matrixes each matrix needs to calculate one value for the rest n-1 matrixes (but not for itself). I implemented this one by two nested loops for (i in c(1:length(CRX))) { for (j in c(1:length(CRX))) if (i!=j) # where i and j are the two indexes. If i==j then is the same matrix.