[i,]
> }))
> randomized
>
> Best,
> Nello
>
> -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 va
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
>
bject: [R] Replacing values of a matrix with values from corresponding rows
of another matrix
Hello all,
I have been trying to figure out how to replace non-zero values of a matrix
with non-zero values from corresponding rows from another matrix. More
specifically, let say we have the following
Hello all,
I have been trying to figure out how to replace non-zero values of a matrix
with non-zero values from corresponding rows from another matrix. More
specifically, let say we have the following original matrix:
original <-
matrix(c(0,0,4,0,0,1,2,2,12,1,0,2,0,5,0,0,10,1,3,1,0,5,0,4),byrow=
4 matches
Mail list logo