Hi,
On Tue, Aug 16, 2011 at 1:31 PM, kokavolchkov wrote:
> Hello!
>
> I'm trying to *save values* (*row and col*) in two matrices(1,m) or vectors.
> I have a loop, where a get these values:
>
> for(i in 144){
> for(j in 73){
> if(B4[i,j]==1){ # B4 is a matrix(73, 144)
>
Hello!
I'm trying to *save values* (*row and col*) in two matrices(1,m) or vectors.
I have a loop, where a get these values:
for(i in 144){
for(j in 73){
if(B4[i,j]==1){ # B4 is a matrix(73, 144)
row <- B4[i-(i-1),j]
col <-
2 matches
Mail list logo