Skip to contents

Population growth in continuous time

run_exponential_model()
Run exponential growth model
run_logistic_model()
Run logistic growth model
plot_continuous_population_growth()
Plot the dynamics of a discrete population growth model

Population growth in discrete time

run_discrete_exponential_model()
Discrete exponential growth model
run_discrete_logistic_model()
Discrete logistic model
run_beverton_holt_model()
Beverton Holt model
run_ricker_model()
Ricker model of discrete population growth with a carrying capacity
plot_discrete_population_cobweb()
Plot a cobweb digram of a discrete population growth model
plot_discrete_population_growth()
Plot the dynamics of a discrete population growth model

Growth of structured populations

run_structured_population_simulation()
Simulate growth of a (st)age-structured population
plot_structured_population_agedist()
Generate a trajectory of the proportion of individuals in each (st)age over time
plot_structured_population_lambda()
Generate a trajectory of the total population size over time
plot_structured_population_size()
Generate a trajectory of population size in each (st)age over time
plot_leslie_diagram()
Generate diagram of population structure

Dynamics of a metapopulation (source/sink dynamics)

run_source_sink()
Simulate dynamics of the source and sink populations under Pulliam (1988)'s model
plot_source_sink()
plot population trajectories of Pulliams' source sink meta-population

Lotka-Volterra competition

run_lvcomp_model()
Run the Lotka-Volterra competition model
plot_lvcomp_portrait()
Generate a phase portrait (N1 vs N2) plot for the Lotka-Volterra model
plot_lvcomp_time()
Generate a trajectory of population size (N1 vs N2) over time for the Lotka-Volterra model

Competition for abiotic resources

run_abiotic_comp_model()
Run the Tilman abiotic resource competition model
run_abiotic_comp_rstar()
Calculate RStar for the 2-consumer, 2-essential resource competition
plot_abiotic_comp_portrait()
Plot the phase portrait of resources in the abiotic resource competition model
plot_abiotic_comp_time()
Plot population size over time for the aboitic resource competition model

Competition for a biotic resource

run_biotic_comp_model()
Run a model of competition for a biotic resource
plot_biotic_comp_time()
Plot population size over time for the boitic resource competition model
plot_functional_responses()
Plot population size over time for the biotic resource competition model

Predator-Prey dynamics

run_predprey_model()
Run predator-prey model
plot_predprey_portrait()
Function for plotting phase portrait of predator-prey model
plot_predprey_time()
Function for plotting phase portrait of predator-prey model
plot_functional_responses()
Plot population size over time for the biotic resource competition model

Infectious disease dynamics

run_infectiousdisease_model()
Run infectious disease models models
plot_infectiousdisease_portrait()
Plot phase portrait for infectious disease model model
plot_infectiousdisease_time()
Plot phase portrait for infectious disease model model

Mutualisms

run_mutualism()
Run model of mutualism with saturating functional response
plot_mutualism_portrait()
Plot phase portrait for mutualism model
plot_mutualism_time()
Plot population trajectories over time for mutualism model

Other models

run_ibiogeo_model()
Runs the island biogeography model.
run_smith_fretwell_model()
Make a Smith-Fretwell plot to show the optimal seed size
run_smith_fretwell_model_sp2()
Add a new Smith-Fretwell curve to a ggplot object created with run_smith_fretwell_model

Run shiny apps

Functions to run shiny apps from the command line

Utility functions

Other utility functions in the package

theme_apps()
standard ggplot2 theme to use throughout the package