It holds values that are used to track the population growth (including reproduction, survival, and exploitation) of every species, and all other species objects inherit from this class. The variable names that end in 'v' are vectors; the names that end in 'mat' are matrices. The rest are scalars, except for a few that (as shown) are lists. Lists are used to hold parameters for a model. Depending on the model, those parameters may be scalars, vectors, or a combination. Holding model parameters in lists makes it easier to swap models later.
Should not be instantiated; rather, instantiate the child classes.
namecharacter. Species name. Should match the class name.
uses_timesteplogical. Is the species tracked by timestep within a year (or just by year)?
Pnumeric. Age plus-group; a scalar.
amnumeric. Age at maturity; a scalar.
maturevnumeric. Proportion mature at age; a vector.
Ninitnumeric. Numbers at age in year 1 (or timestep 1 of year 1); a vector.
Nmatmatrix. Population matrix, age x time (years, or timesteps x years).
wvnumeric. Weight at age; a vector.
Mvnumeric. Natural mortality rate (log scale) by age; a vector.
fishedlogical. Is the species fished?
fishing_rulelist. Parameters for the fishing rule model; a list.
Svnumeric. Fishing selectivity at age; a vector.
Fvnumeric. Fishing mortality rate (log scale) by time; a vector.
F_baselinenumeric. Baseline fishing mortality rate; a scalar.
gvnumeric. Proportion of F that occurs per timestep; a vector.
Cynumeric. Catch per year; a vector.
Ctnumeric. Catch per timestep; a vector.
Zmatmatrix. Total mortality rate (log scale) by time: a vector.
R_baseyearnumeric. Recruitment in a year 1, if supplied; a scalar.
Rnumeric. Recruitment by year; a vector.
lnSR_errnumeric. Stock-recruitment errors (ln scale) by time; a vector.
recruitmentlist. Parameters used in recruitment model (may vary by species).
R_errorlist. Parameters that control stochastic recruitment error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.