plot_sensitivity_trajectory: Sensitivity trajectory plot

View source: R/figures-sensitivity-trajectory.R

plot_sensitivity_trajectoryR Documentation

Sensitivity trajectory plot

Description

Plot sensitivity of performance metrics to OM slots across iterations as trajectories. First the iterations are divided into the upper and lower thirds of the respective OM slot values. Then ribbon plots are made within those groups across iterations through time.

Usage

plot_sensitivity_trajectory(
  object,
  type = c("B_BMSY", "F_FMSY"),
  mp = object@MPs,
  slots = c("D", "hs", "M", "ageM", "L50", "Linf", "K", "Isd"),
  probs = 0.3
)

Arguments

object

A MSEtool MSE object.

type

Whether to make a B/Bmsy or F/Fmsy projection plot.

mp

A character vector of MPs to plot (must be included in the MSE object). Defaults to all.

slots

A character vector of OM slots to plot. Will be plotted in this order. Set slots = "all" to plot all available OM and observation slots.

probs

A numeric value corresponding to the tail probability for the ribbon. E.g., 0.5 corresponds to a ribbon at 0.25 and 0.75 quantiles.

Value

A ggplot object

Examples

plot_sensitivity_trajectory(mse_example)

pbs-assess/ggmse documentation built on Nov. 21, 2023, 8:06 p.m.