calcRickerProxy: calcRickerProxy

View source: R/FUNCTION_RickerProxy.R

calcRickerProxyR Documentation

calcRickerProxy

Description

This function calculates standard benchmarks and fitted SR curves from a and b values for a fit of ln(R/S) vs S (either deterministic, or one of the MCMC samples)

Usage

calcRickerProxy(
  a,
  b,
  sd = NULL,
  spn.vals = NULL,
  sr.scale = 10^6,
  out.type = "sgen"
)

Arguments

a

intercept from ln(R/S) vs S

b

slope from ln(R/S) vs S

spn.vals

either NULL or a vector with spn values to use for the fitted Ricker curve. If NULL, then it generates 1000 steps between 1 fish and 1.5 * s.eq

sr.scale

adjust the BM outputs (e.g. if sr pars were fitted to Mill fish, then sr.scale = 10^6)

out.type

is "sgen" for sgen only, "bm" for a list with all the BM, "curve" for just the fitted ricker curve values,


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