Skip to content
Prev 308901 / 398503 Next

for ( i in 23:0 ) { V <- vector [ 1 : i ] }

I'm used to run that on Matlab
V=vector(1:indice)
end  
that give me 23 vectors as output.

Why the same command on R  " for ( i in 23:0 ) 
{ V <- vector [ 1 : i ] } "
returns one only vector?
How can I obtain the 23 vectors that I need ? 

Thank you.





--
View this message in context: http://r.789695.n4.nabble.com/for-i-in-23-0-V-vector-1-i-tp4647306.html
Sent from the R help mailing list archive at Nabble.com.