plot_pop_summary: Plot population summary

View source: R/plot_pop_summary.R

plot_pop_summaryR Documentation

Plot population summary

Description

plot_pop_summary plots the four population dynamic metrics: catches, biomass, fishing mortality and recruitment. It can either operate at a daily timestep or an annual timestep

Usage

plot_pop_summary(
  results = res,
  timestep = "daily",
  save = FALSE,
  save.location = "."
)

Arguments

results

is an output from the function run_sim.

timestep

is a character string determining whether the plot is 'daily' or 'annual'

save

is a logical whether to save the plot

save.location

is a location (defaults to current directory)

Value

is a ggplot of all the species and metrics as a faceted plot examples plot_pop_summary(results = res, timestep = 'daily', save = TRUE, location = '.') ## Not run


pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.