calcRickerSgen: calcRickerSgen

View source: R/FUNCTION_BiolBM_Subroutines_Sgen.R

calcRickerSgenR Documentation

calcRickerSgen

Description

This function calculates Sgen for a set of Ricker ln.a,b,sigma parameters, and optionally Smsy. NOTE: If method is "HoltOgden2013", then Smsy is always calculated based on Hilborn (1985) approximation, and if Smsy is provided, it will give a warning that it was ignored. Note: This function DOES NOT apply bias correction on alpha. Whether the output is bias-corrected estimates or not depends on the par set provided by the user. This keeps the parameter estimation and benchark calculation steps clearly separated, given on-going debates around the bias correction.

Usage

calcRickerSgen(
  X,
  method = "Connorsetal2022",
  sr.scale = 1,
  out.type = "Full",
  tracing = FALSE
)

Arguments

X

a data frame with columns ln.alpha, beta, sigma, and optionally Smsy

method

one of "HoltOgden2013", "samSim", "Connorsetal2022","BruteForce"

sr.scale

scalar applied to SR data in the model fitting step, need it here to scale up the Sgen values

out.type

either "BMOnly" or "Full"


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