Re: [R] extract same columns and rows in two matrices

2012-03-07 Thread Petr Savicky
On Wed, Mar 07, 2012 at 09:00:14AM -0700, Ben quant wrote: > Hello, > > I have two matrices. They both have different row names and column names, > but they have some common row names and column names. The row names and > column names that are the same are what I am interested in. I also want the

[R] extract same columns and rows in two matrices

2012-03-07 Thread Ben quant
Hello, I have two matrices. They both have different row names and column names, but they have some common row names and column names. The row names and column names that are the same are what I am interested in. I also want the columns in the two matrices aligned the same. In the end, I need to d