Learn R Programming

DLMtool (version 3.2.2)

Pplot: A projection by projection plot of F/FMSY and B/BMSY

Description

A shorter version of the plot method for MSEs that just shows the projected trends in stock status and over exploitation

Usage

Pplot(MSEobj, YVar=c("B_BMSY", "F_FMSY"), MPs=NA, sims=NULL, traj=c("all", "quant"), quants=c(0.1, 0.9), incquant=TRUE, quantcol="lightgray", RefYield=c("lto", "curr"), LastYr=TRUE, maxMP=6, alpha=60, cex.axis=1.35, cex.lab=1.4, YLab=NULL, incMP=TRUE, MPcex=1.4, incLeg=TRUE, cex.leg=1.5, legPos="topleft", yline=NULL, ...)

Arguments

MSEobj
An object of class MSE
YVar
What to plot on the y-axis? Options are: c("B_B0", "B_BMSY", "F_FMSY", "Yield")
MPs
Optional subset by MP
sims
Optional subset by simulation
traj
Plot all projections (all) or only quantiles (quant)
quants
Numeric vector of length 2 specifying the quantiles (e.g., 10th and 90th. Median is always included)
incquant
Logical. Include the quantiles or only plot median?
quantcol
Colour of the quantile polygon
RefYield
Should yield be relative to long-term optimum (lto) or last historical year (curr)
LastYr
Logical. Include the last historical year in the yield projections?
maxMP
Maximum number of MPs to plot
alpha
Alpha for transparency of lines
cex.axis
Size of axis text
cex.lab
Size of axis label
YLab
Optional label for y-axis
incMP
Logical. Include name of MP?
MPcex
Size of MP label
incLeg
Logical. Include a legend?
cex.leg
Size of legend text
legPos
Legend position
yline
Optional horizontal line
...
Additional arguments to be passed to plotting functions