Set initial abundances to single-species steady state abundances
Source:R/steadySingleSpecies.R
steadySingleSpecies.Rd
This first calculates growth and death rates that arise from the current initial abundances. Then it uses these growth and death rates to determine the steady-state abundances of the selected species.
Usage
steadySingleSpecies(
params,
species = NULL,
keep = c("egg", "biomass", "number")
)
Arguments
- params
A MizerParams object
- species
The species to be selected. Optional. By default all target species are selected. 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 selected (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.