Can anyone please tell me how to define a "list". Suppose I want to define a 
list object "result" with length n then want to fill each place of "result" 
with different objects. For e.g.

i=1
result[1] = rnorm(1)

i=2
result[2] = rnorm(2)

.......................

i=n
result[n] = rnorm(n)

What would be the best way to do that?

Regards,

______________________________________________
R-help@r-project.org mailing list
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