Displaying 1 result from an estimated 1 matches for "sbul".
Did you mean:
sbuf
2010 Dec 15
0
Problems with the borders (High difficulty)
...ng should be 16 cells, why in the 'SR2[]' expression divides by 8 and not by 16?
Do anyone know if the dispersed seed are properly included in the SB for the next iteration?
Here I attach you the full model to be this message understandable:
width = 10
height= 10
endt = 6
nPop = 1
SBLL = 1
SBUL = 10
LrD <- matrix(0, width, height)
x <- as.integer(runif(nPop,min=1,max=10)) #uniform random x ccordinates for occupied cells
y <- as.integer(runif(nPop,min=1,max=10)) #uniform random y ccordinates for occupied cells
z <- cbind(x,y)
LrD[z] = runif(nPop,min=SBLL,max=SBUL) #unifo...