plot_LRP | R Documentation |
Generate LRP figures. See details below on various functions.
LRP_SSBhist(
x,
figure = c("ts", "prob", "none"),
SSB_y,
prob_ratio = 1,
prob_ylim = c(0, 1)
)
LRP_SSBMSY(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 1,
prob_ylim = c(0, 1)
)
LRP_SSB0(
x,
figure = c("ts", "prob", "none"),
type = c("equilibrium", "initial", "dynamic"),
prob_ratio = 0.4,
prob_ylim = c(0, 1)
)
LRP_SP(x, figure = c("ts", "phase", "none"), Bunit = c("B", "VB", "SSB"))
LRP_R(
x,
figure = c("ts", "SR", "none"),
SR_xlim,
SR_ylim,
SR_y_RPS0,
SR_include = 1:3
)
LRP_RPS(x, figure = c("ts", "none"))
LRP_SPR(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 0.4,
prob_ylim = c(0, 1)
)
LRP_FMSY(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 1,
prob_ylim = c(0, 1)
)
LRP_Fmed(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 1,
prob_ylim = c(0, 1)
)
LRP_50Rmax(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 1,
prob_ylim = c(0, 1),
sims = 1:25
)
LRP_RPS90(
x,
figure = c("ts", "prob", "none"),
prob_ratio = 1,
prob_ylim = c(0, 1),
sims = 1:25
)
x |
An object of class Hist, or a shiny |
figure |
Character, whether to return a time series plot ( |
SSB_y |
The year (relative to OM@CurentYr) to compare annual SSB values (only if prob_ratio is a numeric). |
prob_ratio |
Numeric. If |
prob_ylim |
The y-axis range of the figure if |
type |
For |
Bunit |
The metric for stock biomass, either total biomass, vulnerable biomass, or spawning biomass. |
SR_xlim |
Optional x-axis range for the stock recruit plot. Only used if |
SR_ylim |
Optional y-axis range for the stock recruit plot. Only used if |
SR_y_RPS0 |
The year (relative to OM@CurrentYr) for which to plot unfished recruits per spawner,
Only used if |
SR_include |
A vector including any of |
sims |
A subset of simulations to plot (to reduce time to produce figure) |
LRP_SSBhist
returns annual spawning biomass (SSB) relative to the annual probability that SSB exceeds some historical value
(corresponding to the year in SSB_y
).
LRP_SSBMSY
returns annual SSB/SSBMSY or the annual probability that SSB/SSBMSY exceeds prob_ratio
.
LRP_SSB0
returns annual SSB/SSB0 or the annual probability that SSB/SSB0 exceeds prob_ratio
.
LRP_SP
returns annual surplus production (annual change in biomass - catch) and per capita surplus production.
LRP_R
returns either annual recruitment (as a figure or table) or a stock recruit figure.
LRP_RPS
returns annual recruits-per-spawner.
LRP_SPR
returns annual spawning potential ratio.
LRP_FMSY
returns annual F and F/FMSY.
LRP_Fmed
returns F and Fmed (the fishing mortality corresponding to the historical median recruits per spawner,
frequently also referred to as the F-replacement F).
LRP_50Rmax
returns SSB50%Rmax
, the SSB corresponding to 50
LRP_RPS90
returns SSB 90%ile R/S
, the SSB corresponding to the intersection of the 90the percentile of both historical recruitment
and recruits-per-spawner.
Returns invisibly a list with matrices and arrays used to generate various plots associated with time series and probabilities.
Q. Huynh
Mace, P.M. 1994. Relationships between Common Biological Reference Points Used as Thresholds and Targets of Fisheries Management Strategies. CJFAS. 51:110-122. https://doi.org/10.1139/f94-013
Myers, et al. 1994. In search of thresholds for recruitment overfishing. ICES JMS. 51:191–205. https://doi.org/10.1006/jmsc.1994.1020
library(MSEtool)
Hist <- MSEtool::runMSE(MSEtool::testOM, Hist = TRUE, silent = TRUE)
LRP <- LRP_SSBhist(Hist, SSB_y = 50, prob_ratio = 0.5)
str(LRP)
LRP_50Rmax(Hist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.