View source: R/get_initial_n.R
get_initial_n | R Documentation |
This function uses the model parameters and other parameters to calculate initial values for the species number densities. These initial abundances are currently quite arbitrary and not close to the steady state. We intend to improve this in the future.
get_initial_n(params, n0_mult = NULL, a = 0.35)
params |
The model parameters. An object of type MizerParams. |
n0_mult |
Multiplier for the abundance at size 0. Default value is kappa/1000. |
a |
A parameter with a default value of 0.35. |
A matrix (species x size) of population abundances.
init_n <- get_initial_n(NS_params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.