plot_replicates: Show the ensemble fishstock and harvest dynamics

Description Usage Arguments Details Value

Description

Show the ensemble fishstock and harvest dynamics

Usage

1
2
3
4
plot_replicates(sims, S = NULL, allee = 0, e_star = NULL,
  fish_reps = TRUE, fish_sd = TRUE, fish_mean = TRUE, harvest = TRUE,
  harvest_reps = TRUE, harvest_mean = TRUE, harvest_sd = TRUE,
  crash_count = TRUE)

Arguments

sims

simulation results

S

Reed's S, from opt$S, where opt <- find_dp_optim(...)

allee

the allee threshold (defaults to 0)

fish_reps

logical - show replicate trajectories of fish stocks?

fish_sd

logical - show ribbon of SD of fishstock?

fish_mean

logical - show mean fishstock?

harvest

- include harvest level on the same plot?

harvest_reps

- show individual reps for harvest?

harvest_mean

- show mean harvest level over time?

harvest_sd

- show harvest SD

crash_count

- count the number of reps that have fallen below allee

Details

if line values for any S, allee, e_star are not specified then these are omitted from the plot.

Value

a ggplot object (display with print(object))


cboettig/pdg_control documentation built on May 13, 2019, 2:10 p.m.