View source: R/FUNCTION_RickerProxy.R
calcRickerProxy | R Documentation |
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)
calcRickerProxy(
a,
b,
sd = NULL,
spn.vals = NULL,
sr.scale = 10^6,
out.type = "sgen"
)
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, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.