make_pop | R Documentation |
Function used to seed initial age-structured population for simulation based on life-history characteristics. Uses an initial population seed, mortality estimates, and maximum age to create a starting population.
make_pop(species, max_age, nM, fM, n_init)
species |
Species for which population dynamics will be simulated.
Choices include American shad ( |
max_age |
The maximum age of fish in the population(s). A numeric vector of length 1. |
nM |
Instantaneous natural mortality rate.
A numeric vector of length for ( |
fM |
Instantaneous fishing mortality rate. A numeric vector of length 1. |
n_init |
Initial population abundance (includes all age classes). |
A vector containing age-specific abundances
with length = max_age
.
# Example usage
## Not run:
# Simulate a fish population at stable age distribution
pop = make_pop(max_age, nM, fM, n_init)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.