View source: R/FUNCTION_calcDetRickerBM.R
calcDetRickerBM | R Documentation |
This function calculates standard biological benchmarks (Smsy, Seq, Smax, Umsy),
for the deterministic model fits applying the subroutines calcRickerSmsy
, calcRickerSgen
,
and calcRickerOtherBM
with user-specified settings.
calcDetRickerBM(
fit_obj,
sr.scale = 10^6,
Smsy.method = "Scheuerell2016",
Sgen.method = "Connorsetal2022"
)
fit_obj |
a list object are not used (RpS, Qual, ExpF etc) |
sr.scale |
one of "HoltOgden2013", "samSim", "Connorsetal2022","BruteForce". Default is "Connorsetal2022" |
Smsy.method |
one of "Hilborn1985","Petermanetal2000","Scheuerell2016","BruteForce". Default is "Scheuerell2016". |
sr_obj |
a data frame with Year and Spn, logRpS , and Rec (Data for 1 Stock!). Other variables can be there but are not used (RpS, Qual, ExpF etc) |
min.obs |
min number of S-R pairs needed to fit a model |
resids |
if TRUE, add the residuals to the output |
ricker.bm <- calcDetRickerBM(SR_Sample[SR_Sample$Stock == "Stock1",],min.obs = 10)
print(ricker.bm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.