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:
equations
parms
ninds
speed
area
times
by
-argument ignored).init
x
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" inputs diffusion # set conditions to "1", i.e. remove "refugium" in the middle inputs(diffusion) <- matrix(1, 100, 100) plot(sim(diffusion)) ## End(Not run)