View source: R/single_population_discrete.R
| plot_discrete_population_growth | R Documentation |
Plot the dynamics of a discrete population growth model
plot_discrete_population_growth(sim_df)
sim_df |
data frame of discrete population growth |
run_discrete_exponential_model(), run_discrete_logistic_model(),
run_beverton_holt_model(), run_ricker_model() for functions that
generate the sim_df objects plotted by this function
dl_params <- c(rd = 1.1, K = 1000)
sim_df_dl <- run_discrete_logistic_model(N0 = 1, params = dl_params, time = 100)
plot_discrete_population_growth(sim_df_dl)
bh_params <- c(rd = 1.1, K = 1000)
sim_df_bh <- run_beverton_holt_model(N0 = 1, params = bh_params, time = 100)
plot_discrete_population_growth(sim_df_bh)
ri_params <- c(rd = 1.1, K = 1000)
sim_df_ri <- run_ricker_model(N0 = 1, params = ri_params, time = 100)
plot_discrete_population_growth(sim_df_ri)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.