View source: R/stockRecruitModels.R
rickerSurvModel | R Documentation |
This function calculates recruitment from Ricker curve with a marine survival covariate
that is specific to brood year added in. Note that internal if
statements prevent it from being vectorized so must be passed single values,
i.e. all vectors for inputs and outputs are length 1.
rickerSurvModel(
S,
a,
b,
error,
ppnAges,
gamma,
mSurvAtAge,
sig = NULL,
biasCor = NULL
)
S |
A numeric of spawner abundance. |
a |
A numeric of alpha value, i.e. productivity at low spawner abundance. |
b |
A numeric vector of beta value, i.e. density dependence para- meter. |
error |
A numeric recruitment deviation, typically generated
using |
ppnAges |
A numeric vector of proportion of spawner abundance at age |
gamma |
A numeric value represting the marine survival coefficient |
mSurvAtAge |
A numeric vector representing marine survival covariates at age |
sig |
A numeric vector of Ricker sigma values |
biasCor |
A logical TRUE/FALSE vector indicating if log-normal bias correction should be applied. If NULL, then default is FALSE |
A list of recruitment at each age for the modelled brood year (e.g., R2 = recruitment to age 2 from broodyear, R3 = recruitment to age 3, etc), as well as recruitment for all return ages combined from the modelled brood year (RecBY)
rickerSurvModel(S = 1000, a = 2.1, b = 0.00001, error = 0.8, ppnAges = c(0,0.83,0.17,0,0), gamma=0.4, mSurvAtAge=c(0,0.013, 0.015,0,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.