Re: [R] comparing rows - a possible solution

2008-11-11 Thread Oliver Bandel
Hi, Zitat von [EMAIL PROTECTED]: Hi Oliver: if I understood Chris's email correctly , he wanted to compare all possible row ( row1 with the other 4 rows of the other matrix, row 2 with the 4 rows of the other matrix, etc, etc, ) combinations of the two matrices, Oh, I thought he meant

[R] comparing rows

2008-11-10 Thread markleeds
hi chris: i'm betting that there is a better/shorter more R'ish way to do it ( if someone could provide that, it's appreciated ) but below will get the output in the format you need. the all function tests whether all the elements are equal so you don't need setequal although i guess it's a

[R] comparing rows - a possible solution

2008-11-10 Thread Oliver Bandel
Hello, sorry for posting this independently of the original thread, but it is not that easy to answer to mails, when receiving the r-help as digest... ... The question was: I compare each row of a matrix with each row of another matrix. testmat1 -

Re: [R] comparing rows - a possible solution

2008-11-10 Thread markleeds
Hi Oliver: if I understood Chris's email correctly , he wanted to compare all possible row ( row1 with the other 4 rows of the other matrix, row 2 with the 4 rows of the other matrix, etc, etc, ) combinations of the two matrices, not the individual elements of the matrix. That's just my