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.
calculations();
}
Do you think there might be a more efficient R-wise way to implement this?
I would like to thank you in advance for your help
Best Regards
Alex
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.