Description Usage Arguments Value Examples
View source: R/stockRecruitModels.R
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.
1 | rickerSurvModel(S, a, b, error, ppnAges, gamma, mSurvAtAge)
|
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 |
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)
1 | 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.