Dear List,

I have the following code that does what I want:

x <- replicate(5,replicate(10,sum(rnorm(rpois(1,10)))))

How might one change it such that the maximum value generated by
rnorm(rpois(1,10)) can be retrieved for later use?

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to