plot_sim_oldcc: plot simulation results for old carrying capacity driven...

Description Usage Arguments Value Examples

Description

plot insecticide use and resulting changes in population and resistance

Usage

1
plot_sim_oldcc(l_time, plot_cc = FALSE)

Arguments

l_time

list containing simulation results

plot_cc

whether to add carryin capacity to the population plot

Value

maybe nothing, produces a plot

Examples

1
2
3
4
5
6
7
#blank plot
l_time <- init_sim(20)
plot_sim_oldcc(l_time)
#default run
plot_sim_oldcc( run_sim_oldcc())
#modify params
plot_sim_oldcc( run_sim_oldcc( insecticide_kill = 0.3, resist_incr = 0.05 ))

AndySouth/resistanceGame documentation built on May 5, 2019, 6:01 a.m.