simGrowth | R Documentation |
Function to simulate growth trajectories based on a size transition matrix.
simGrowth(
ny = 21,
zAtR = 1,
M = 0.23,
prGr = NULL,
grCoeffs = NULL,
prM2M = NULL,
m2mCoeffs = NULL,
sizes = seq(from = 25, to = 185, by = 1),
showPlot = TRUE,
normalize = FALSE
)
ny |
: number of years to simulate |
zAtR |
: size at recruitment |
M |
: annual rate of natural mortality |
prGr |
: size transition matrix |
grCoeffs |
: growth coefficients (if prGr is not given) |
prM2M |
: probability of molt-to-maturity |
m2mCoeffs |
: molt-to-maturity coefficients (if prM2M is not given) |
sizes |
: vector of size bins |
showPlot |
: flag to plot simulation |
normalize |
: flag to normalize annual size comps to 1 |
Essentially calculates a cohort progression
list with matrices nAtZI and nAtZM representing immature and mature crab abundance as a function of elapsed time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.