View source: R/rate_functions.R
| flux_from_rates | R Documentation |
Internal helper holding the arithmetic shared by getFlux.MizerParams and
getFlux.MizerSim. Keeping it separate lets the MizerSim method resolve the
rate functions once and reuse them across all saved time steps.
flux_from_rates(params, n, g, d, rdd, power = 0, flux_limiter = "none")
params |
A valid |
n |
A matrix of species abundances (species x size). |
g |
Growth rate matrix (species x size), as from |
d |
Diffusion rate matrix (species x size), as from |
rdd |
Density-dependent reproduction rate vector (one per species), as
from |
power |
The flux at weight |
flux_limiter |
Advective-flux scheme: |
A plain species x size matrix of fluxes (no mizer array class).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.