Re: [R] Read data from .csv file as a matrix and compare the different between two matrix

2012-09-05 Thread Rui Barradas
Hello, Em 05-09-2012 07:26, David Winsemius escreveu: On Sep 4, 2012, at 4:39 PM, s.s.m. fauzi wrote: Hi, I have two table matrix, and I would like to compare the different between two matrix. For example: Matrix 1: A B C A 0 1 0 B 0 0 1 C 0 0 0 Matrix 2: A B C A 0 1 0 B 0 0 0

Re: [R] Read data from .csv file as a matrix and compare the different between two matrix

2012-09-04 Thread David Winsemius
On Sep 4, 2012, at 4:39 PM, s.s.m. fauzi wrote: > Hi, > I have two table matrix, and I would like to compare the different between > two matrix. > For example: > > Matrix 1: >A B C > A 0 1 0 > B 0 0 1 > C 0 0 0 > > Matrix 2: > A B C > A 0 1 0 > B 0 0 0 > C 0 0 0 > > Each column

Re: [R] Read data from .csv file as a matrix and compare the different between two matrix

2012-09-04 Thread arun
ion may not work in situations like the one I mentioned above. A.K. - Original Message - From: s.s.m. fauzi To: r-help@r-project.org Cc: Sent: Tuesday, September 4, 2012 7:39 PM Subject: [R] Read data from .csv file as a matrix and compare the different between two matrix Hi, I have two table ma

[R] Read data from .csv file as a matrix and compare the different between two matrix

2012-09-04 Thread s.s.m. fauzi
Hi, I have two table matrix, and I would like to compare the different between two matrix. For example: Matrix 1: A B C A 0 1 0 B 0 0 1 C 0 0 0 Matrix 2: A B C A 0 1 0 B 0 0 0 C 0 0 0 Each column which have value 1, should also return value 1. As in this case/example, the result