Description Usage Arguments Value Examples
This is the discrete time logistic growth function known as the logistic map. It calculates the amount of growth expected in a step of time given by: N_t+1 = N_t + r * (N_t (K - N_t)/K); where N_t is community size at a time point, r is the per step growth rate, and K is the environmental carrying capacity.
1 | logisticMap(func_rate, func_startPop, func_maxPop)
|
func_rate |
Per time step intrinsic growth rate of individuals |
func_startPop |
The initial summed size of the evolving community |
func_maxPop |
The carrying capacity of the simulated environment |
A single value as to the expected summed size of evolving populations in the considered environment.
1 2 3 4 5 6 7 8 9 | # This is the discrete time step form of the logistic equation, known as the logistic map.
# It takes a growth rate starting and max possible community size.
stepwise_Size <- 100
for(thisStep in 1:7){
stepwise_Size <- c(stepwise_Size,
logisticMap(2,stepwise_Size[length(stepwise_Size)],1e4))
}
stepwise_Size
# When a population overshoots, it will loose members.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.