Learn R Programming

DLMtool (version 3.2)

TradePlot: Generic Trade-off Plot

Description

Creates a trade-off plot (up to four panels) of built-in performance metrics.

Usage

TradePlot(MSEobj, XAxis=c("Overfishing", "Biomass:BMSY"), YAxis=c("Long-term Yield", "AnnualVar"), XThresh=c(30, 80), YThresh=c(0,50), maxVar=15, BmsyRef=0.5, B0Ref=0.2, AvailMPs=NULL, ShowLabs=FALSE, ShowCols=TRUE)

Arguments

MSEobj
Object of class MSE, output of the runMSE function
XAxis
Character string describing the performance metrics for the x-axis (or x-axes if vector; max 4). Must be chosen for list of existing PMs and same length as YAxis. See PMs
YAxis
Character string describing the performance metrics for the y-axis (or y-axes if vector; max 4). Must be chosen for list of existing PMs and same length as XAxis. See PMs
XThresh
Minimum threshold values in percent (i.e., 50 = 50%) for the x-axes (must be same length as XAxis)
YThresh
Minimum threshold values in percent (i.e., 50 = 50%) for the y-axes (must be same length as YAxis)
maxVar
Reference for average annual variability in yield in percent
BmsyRef
Reference level of BMSY, in proportion, i.e., 0.5 = 0.5BMSY
B0Ref
Reference level of B0, in proportion, i.e., 0.2 = 0.2B0
AvailMPs
vector of MPs that *could* be applied to the fishery, i.e., sufficient data exists. These a plotted with different symbol
ShowLabs
Logical to specify if MP labels are shown
ShowCols
Logical to specify if background colors are shown

Details

Returns a list containing the names of performance metrics that meet the minimum performance metrics for each trade-off, and ranks the MPs by increasing distance from the top-right corner.