Description Usage Arguments Details Value See Also
The generic function cellgrowth
implements different growth models for an object of class Human.
1 2 3 4 | cellgrowth(object, population, j, occupyM, fbasol, tstep)
## S4 method for signature 'Human'
cellgrowth(object, population, j, occupyM, fbasol, tstep)
|
object |
An object of class Human. |
population |
An object of class Arena. |
j |
The number of the iteration of interest. |
occupyM |
A matrix indicating grid cells that are obstacles |
fbasol |
Problem object according to the constraints and then solved with |
tstep |
A number giving the time intervals for each simulation step. |
Linear growth of organisms is implemented by adding the calculated growthrate by optimizeLP
to the already present growth value. Exponential growth of organisms is implemented by adding the calculated growthrate multiplied with the current growth calculated by optimizeLP
plus to the already present growth value.
Boolean variable of the j
th individual indicating if individual died.
Human-class
, growLin
and growExp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.