Description Usage Arguments Value
View source: R/MICE_functions.R
A utility function used in the calculation of numbers-at-age at time t. Recruits are calculated separately, so fecundities are all set to 0 here. Survival rates are in off-diagonal rows (survival from age 1 to age 2 is in leslie[1,2], etc.). Note: age classes are 0:P, but vector and matrix row/col indexes are 1-based, and go from 1:(P+1=nAges).
1 | set_lesliematrix(P, Zv)
|
P |
A scalar: Maximum age (plus-group) |
Zv |
A vector: Total mortality rate (log scale) at age. |
A leslie matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.