Skip to contents

Discrete logistic model

Usage

run_discrete_logistic_model(N0 = 1, params = c(rd = 1.1, K = 100), time = 100)

Arguments

N0

initial population size of population

params

a vector of carrying capacity (K) and discrete growth rate (rd)

time

Number of time steps over which to project the model

rd

Discrete growth factor

Value

A data frame with columns time and Nt

See also

run_ricker_model() and run_beverton_holt_model() for other discrete-time models of population growth with population regulation, and run_logistic_model() for a continuous time model of logistic growth. Also see plot_discrete_population_growth() and plot_discrete_population_cobweb() for plotting trajectory over time and cobweb plots.

Examples

run_discrete_logistic_model(N0 = 1, params = c(rd = 1.1, K = 100), time = 10)
#>    time       Nt
#> 1     1 1.000000
#> 2     2 1.089000
#> 3     3 1.184855
#> 4     4 1.287898
#> 5     5 1.398442
#> 6     6 1.516774
#> 7     7 1.643145
#> 8     8 1.777760
#> 9     9 1.920771
#> 10   10 2.072266