Learn R Programming

DLMtool (version 5.2)

TradePlot: Generic Trade-Plot Function

Description

Generic Trade-Plot Function

Usage

TradePlot(MSEobj, ..., Lims = c(0.2, 0.2, 0.8, 0.8), Title = NULL,
  Satisficed = FALSE, Show = TRUE, point.size = 2, lab.size = 4,
  axis.title.size = 12, axis.text.size = 10, legend.title.size = 12,
  position = c("right", "bottom"), fill = "gray80", alpha = 0.4,
  PMlist = NULL, Refs = NULL, Yrs = NULL)

Tplot(MSEobj, Lims = c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5), ...)

Tplot2(MSEobj, Lims = c(0.2, 0.2, 0.8, 0.8), ...)

Tplot3(MSEobj, Lims = c(0.5, 0.5, 0.8, 0.5), ...)

NOAA_plot2(MSEobj)

Arguments

MSEobj

An object of class MSE

...

Names of Performance Metrics (PMs), or other arguments to TradePlot. First PM is recycled if number of PMs is not even

Lims

A numeric vector of acceptable risk/minimum probability thresholds. Recycled if not equal to number of PMs.

Title

Optional title for each plot. Character vector of length(PMs)/2. Recycled.

Satisficed

Logical. Show only the MPs that meet minimum acceptable thresholds (specified in Lims)

Show

Logical. Show the Results table and plots?

point.size

Numeric. Size of the MP points

lab.size

Numeric. Size of MP label

axis.title.size

Numeric. Size of axis titles

axis.text.size

Numeric. Size of axis text

legend.title.size

Numeric. Size of legend title text

position

Character. Position of legend - 'right' or 'bottom'

fill

Character. Color of the fill

alpha

Numeric. Transparency of fill

PMlist

Optional list of PM names. Overrides any supplied in ... above

Refs

An optional named list (matching the PM names) with numeric values to override the default Ref values. See examples.

Yrs

An optional named list (matching the PM names) with numeric values to override the default Yrs values. See examples.

Value

Invisibily returns a list with summary table of MP performance and the ggplot objects for the plots

Functions

  • Tplot: A trade-off plot showing probabilities that:

    • not overfishing (PNOF) against long-term yield is > 50% of reference yield (LTY)

    • spawning biomass is below BMSY (P100) against LTY

    • spawning biomass is below 0.5BMSY (P50) against LTY

    • spawning biomass is below 0.1BMSY (P10) against LTY

  • Tplot2: A trade-off plot showing probabilities that:

    • short-term yield is > 50% of reference yield(STY) against long-term yield is > 50% of reference yield (LTY)

    • spawning biomass is below 0.1BMSY (P10) against average annual variability in yield is < 20% (AAVY)

  • Tplot3: A trade-off plot showing probabilities that:

    • not overfishing (PNOF) against long-term yield is > 50% of reference yield (LTY)

    • spawning biomass is below 0.1BMSY (P10) against average annual variability in yield is < 20% (AAVY)

  • NOAA_plot2: A trade-off plot developed for NOAA showing probabilities that:

    • not overfishing (PNOF) against long-term yield is > 50% of reference yield (LTY)

    • spawning biomass is below 0.5BMSY (P50) against average annual variability in yield is < 15% (AAVY)