matchGrowth | R Documentation |
Scales the search volume, the maximum consumption rate, the metabolic rate
and the external encounter rate
all by the same factor in order to achieve a growth rate that allows
individuals to reach their maturity size by their maturity age while keeping
the feeding level and the critical feeding level unchanged. Then recalculates
the size spectra using steadySingleSpecies()
.
matchGrowth(params, species = NULL, keep = c("egg", "biomass", "number"))
params |
A MizerParams object |
species |
The species to be affected. Optional. By default all species for which growth information is available will be affected. A vector of species names, or a numeric vector with the species indices, or a logical vector indicating for each species whether it is to be affected (TRUE) or not. |
keep |
A string determining which quantity is to be kept constant. The choices are "egg" which keeps the egg density constant, "biomass" which keeps the total biomass of the species constant and "number" which keeps the total number of individuals constant. |
Maturity size and age are taken from the w_mat
and age_mat
columns in the
species_params data frame. If age_mat
is missing, mizer calculates it from
the von Bertalanffy growth curve parameters using age_mat_vB()
. If those
are not available either for a species, the growth rate for that species will
not be changed.
A modified MizerParams object with rescaled search volume, maximum
consumption rate and metabolic rate and rescaled species parameters
gamma
,h
, ks
and k
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.