Re: [R] Replacing values of a matrix with values from corresponding rows of another matrix

2013-07-15 Thread Laura Cisneros
o > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Laura Cisneros > Sent: Montag, 15. Juli 2013 03:09 > To: r-help@r-project.org > Subject: [R] Replacing values of a matrix with values from corresponding >

[R] Replacing values of a matrix with values from corresponding rows of another matrix

2013-07-14 Thread Laura Cisneros
y replace 12 and 1 (from the randomized matrix) with 4 and 1 (from the original matrix). Then do this for each row. Any suggestions on how I may be able to accomplish this would be greatly appreciated. Laura -- Laura Cisneros, Doctoral Candidate Dept. of Ecology and Evolutionary Biology U