thank you Mr. Carlson

you're right, the matrix that I used as an example does not make sense.
When I built the array I was not thinking of the formula
s[n]=1+s[n]+rnorm(1,mean=0,sd=1), I just wanted to give an example of the
structure of the matrix that I needed.

Anyway I think you have solved my simple problem.

thank you for availability !!

Cesare

--
View this message in context: 
http://r.789695.n4.nabble.com/double-for-cycle-tp4636916p4636988.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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