Hello, 

I am trying to create a list where each name would have an increasing vector 
length. For example, I am trying to obtain something that looks like this: 

[[1]][1] 2
[[2]] 
[1] 2 4 

[[3]] 
[1] 1 2 3 
.....
The numbers generated would just be any random numbers. My thought was to use a 
for-loop and the sequence function but that doesn't seem to be working. Any 
help on this would be greatly appreciated. 

Thank you, 

Nia

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to