calcDetRickerBM: calcDetRickerBM

View source: R/FUNCTION_calcDetRickerBM.R

calcDetRickerBMR Documentation

calcDetRickerBM

Description

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.

Usage

calcDetRickerBM(
  fit_obj,
  sr.scale = 10^6,
  Smsy.method = "Scheuerell2016",
  Sgen.method = "Connorsetal2022"
)

Arguments

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

Examples

ricker.bm <- calcDetRickerBM(SR_Sample[SR_Sample$Stock == "Stock1",],min.obs = 10)
print(ricker.bm)

SOLV-Code/RapidRicker documentation built on Jan. 14, 2025, 9:36 a.m.