This wasn't a completed answer. (I hit the send button by accident.)
The code only fills in a small poertion of the matrix. )
--
David.
On Nov 23, 2010, at 4:48 PM, David Winsemius wrote:
On Nov 23, 2010, at 3:26 PM, Barroso, Judit wrote:
Dear all of you,
I would like to get some help fr
On Nov 23, 2010, at 3:26 PM, Barroso, Judit wrote:
Dear all of you,
I would like to get some help from you.
Here I attach you a model, that I would like to be stochastic so I
would need each time the value of x changed, the values of
parameters (ss, emrg, gf, spp, sr) did too according to
Seems to me you're going about it in a bit of a difficult way. Assuming
you know you want to run 20 samples (x = 1 to 20), just generate sets of
20 random variables for each of your inputs.
for example,
ss <-rnorm(20,mean=.3, sd=.08)
Then inside the loop, replace "ss" with "ss[x]"
By the
3 matches
Mail list logo