| diffusion {simecol} | R Documentation |
simecol example: This is a random walk (basic particle diffusion) model.
data(diffusion)
An S4 object according to the rwalkModel specification.
The object contains the following slots:
mainparmsnindsspeedareatimesby-argument
ignored).initx and y and movement angle a) of the
particles.To see all details, please have a look into the implementation.
## Not run:
data(diffusion)
plot(sim(diffusion))
# show "grid of environmental conditions"
image(inputs(diffusion))
# set conditions to "1", i.e. remove "refuge" in the middle
inputs(diffusion) <- matrix(1, 100, 100)
plot(sim(diffusion))
## End(Not run)