Skip to content
Prev 31601 / 398513 Next

Help to make a for for index

Hi,

I try to make a vector in a for for loop, but it dont work.

Look:
[1] 2
[1] 3
[1] 3
[1] 4

I try to make this a vector, like this:
[1] 2 3 3 4
[1] 3 4
[1] 3 4

In this way the vector have only the two last loop.

I try another way but it dont work.

How make a correct index for this loop inside loop?

Thanks
Ronaldo