Description Usage Arguments Value Examples
View source: R/model_functions.R
PopProjections
is essentially a wrapper for
pop.projection
. It will run pop.projection
for every
simulation (i.e., column) in the simulation matrices (passed to
fSims
& sSims
). Function creates the Leslie Matrix (*A*)
required by pop.projection
.
1 | PopProjections(fSims, sSims, mn, sdev, ageFreq, period)
|
fSims |
A matrix of fecundity simulations, likely the product of simulated number of eggs x simulated spawning probabilities x sex ratio (expressed as a proportion, e.g., 0.5). |
sSims |
A matrix of survival simulations, likely one matrix for each level of exploitation (mu) being tested. |
mn |
Scalar numeric value as survival probability of oldest fish (i.e.,
max age in |
sdev |
Scalar numeric value as corresponding error for |
ageFreq |
Numeric vector of age frequency passed on to |
period |
Scalar integer given number of years to project. Passed on to
|
A large matrix with rows as 'Value' output in
link{pop.projection}
and number of columns = number of simulations.
1 | # code here
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.