Plots time series of MSY reference points. Not used in automated reporting as they can be computationally expensive and individual case studies may require specific assumptions.
Arguments
- report
List, output of state variables from individual MCMC samples, obtained with
get_report()- d
List of data variables, obtained with
get_CMdata()- year1
Numeric, first year of model
- simple
Logical, whether to use Ricker lambert equations for MSY reference points (TRUE) or age-structured optimization (FALSE)
- index
Integer vector to subset years with which to calculate reference points. Can be used to reduce computation or average biological parameters from a subset of years, see
mean_bioargument. IfNULL, uses all years of model.- mean_bio
Logical, whether to average the natural mortality and maturity parameters across years indicated in
index- type
Character, the type of reference point to calculate
- maximize
Character, whether the numerical optimization maximizes catch (MSY) or excess recruitment (MER). For testing only, should not impact results. Only used if
simple = FALSE- AEQ
Logical, whether to use adult equivalents when calculating MSY for preterminal fisheries#' Only used if
simple = FALSE. Should always beTRUE- ncores
Numeric, number of processors for parallel computation. Useful if calculating numerically for many MCMC samples
- na.rm
Logical, whether to exclude negative values from the median in figures