totalBiomass: Calculate the total biomass for given parameter values for...

View source: R/fitting.R

totalBiomassR Documentation

Calculate the total biomass for given parameter values for PLB model

Description

Calculate the total biomass (in same units as xmin or nondimensionalised and scaled to xmin) for given values of b (in the vector bvec), n and either both xmin and xmax or just r.

Usage

totalBiomass(bvec, r = NULL, xmin = NULL, xmax = NULL, n = 1000)

Arguments

bvec

vector of size-spectrum exponents (values of b)

r

ratio of xmax/xmin. Need to specificy r or xmin and xmax, all scalars.

xmin

minimum allowable body size

xmax

maximum allowable body size

n

number of individuals

Value

vector of total biomass values corresponding to the values of b in bvec; total biomass has same units as xmin (if xmin and xmax specified), or is nondimensional if r is specified.

Author(s)

Andrew Edwards


andrew-edwards/sizeSpectra documentation built on June 28, 2023, 7:09 p.m.