Description Usage Arguments Details Value Examples
View source: R/generateCycle.R
This function generates cycle lines necessary to model Fraser River stocks exhibiting delayed density dependence (e.g. Lower Shuswap). Note that it is not a universal function - it can only generate four year cycles and assumes that the observed data begins after 1900.
1 | genCycle(firstObs, simLength)
|
firstObs |
A numeric representing the first year of observed data. |
simLength |
A numeric representing the length of the simulation period. |
Depends on the helper function checkInteger
.
Returns a numeric vector representing cycle line IDs for output data
with length(simLength)
.
1 | genCycle(firstObs = 2009, simLength = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.