Re: [R] Copying row names

2007-09-14 Thread Paul Smith
On 9/14/07, kwaj <[EMAIL PROTECTED]> wrote: > I have been trying to copy the row names of one matrix to another matrix but > having difficulty. The original matrix contains a row name which I would > like to replicate in the new matrix. I use the following approach? > The two matrices have identica

[R] Copying row names

2007-09-14 Thread kwaj
I have been trying to copy the row names of one matrix to another matrix but having difficulty. The original matrix contains a row name which I would like to replicate in the new matrix. I use the following approach? The two matrices have identical dimensions. rN <- row.names(origMatrix) row.name