| model_observation | R Documentation |
Internal helper for the calibration and matching functions. Integrates the
initial abundance of each species over the sizes that the observation covers
and returns the total biomass in grams for to = "biomass" or the total
number of individuals for to = "number". The <to>_cutoff species
parameter sets the smallest size counted for each species; where it is
missing the whole size range of the species is counted.
model_observation(params, to = c("biomass", "number"))
params |
A MizerParams object. |
to |
The type of observation, either "biomass" or "number". |
The integral is done by sizeIntegral(), so it follows the model's
quadrature scheme and lets the bin straddling the cutoff contribute only the
part of it that lies above the cutoff.
A named vector with one value for each species.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.