get_initial_n: Calculate initial population abundances for the community...

View source: R/project_therMizer.R

get_initial_nR Documentation

Calculate initial population abundances for the community populations

Description

This function uses the model parameters and other parameters to calculate initial population abundances for the community populations. These initial abundances should be reasonable guesses at the equilibrium values. The returned population can be passed to the project_therMizer method.

Usage

get_initial_n(params, n0_mult = NULL, a = 0.35)

Arguments

params

The model parameters. An object of type therMizerParams.

n0_mult

Multiplier for the abundance at size 0. Default value is kappa/1000.

a

A parameter with a default value of 0.35.

Value

A matrix (species x size) of population abundances.

Examples

## Not run: 
data(NS_species_params_gears)
params <- therMizerParams(NS_species_params_gears)
init_n <- get_initial_n(params)

## End(Not run)

pwoodworth-jefcoats/Size-Based-Modeling documentation built on Sept. 15, 2023, 8:13 a.m.