Displaying 1 result from an estimated 1 matches for "sdvss".
Did you mean:
sdvsr
2010 Nov 23
2
How to do a stochastic model in R
...ameters values changed randomly according to their normal distribution (given the mean and standard deviation values) and got another mean value. And when x was 3 again, and every time until 20. Does anyone, know how to do it?
ss <- 0.3
emrg <- 0.35
gf <- 0.22
spp <- 100
sr <- 0.52
SDVss <- 0.08
SDVemrg <- 0.05
SDVgf <- 0.04
SDVspp <- 22
SDVsr <- 0.1
data.frame <- matrix(0,20,7)
data.frame
data.frame[,1] <- 1:20
data.frame
for(x in 1:20){
if(x==1){
data.frame[1,2] <- 50
data.fra...