SORRY!!!! it should be:
Fridolin wrote > > for (s in 3:6) { #walks though the matrix colum by colum, starting at > colum 3 > for (z1 in 1:5) { #for each current colum, take one row (z1)... > for (z2 in 1:5) { #...and compare it to another row (z2) of the > current colum > error is gone now.... SORRY!!! -- View this message in context: http://r.789695.n4.nabble.com/help-please-matrix-operations-inside-3-nested-loops-tp4639592p4639735.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.