Skip to contents

Create simulation timepoints

Usage

run_sensitivity_analysis(
  base_params,
  param_name,
  range = seq(0.5, 1.5, by = 0.1),
  seasonal = FALSE
)

Arguments

base_params

Base parameter list

param_name

Parameter to vary

range

Vector of multipliers

seasonal

Include seasonal forcing

years

Number of years to simulate

timestep

Time step in years

output

Simulation output tibble

log_scale

Logical, whether to use log scale

plot_type

One of "all", "infected", or "phase"

Value

Vector of timepoints Plot plague simulation results

ggplot object Run sensitivity analysis

Tibble with sensitivity analysis results