ExB: ExB calculate exploitable biomass from numbers-at-age

View source: R/aspm.r

ExBR Documentation

ExB calculate exploitable biomass from numbers-at-age

Description

ExB calculates the spawning biomass from a vector of numbers-at-age, selectivity-at-age, and Weight-at-age.

Usage

ExB(invect, SelA, WeightA)

Arguments

invect

the numbers-at-age as a vector

SelA

selectivity-at-age vector

WeightA

weight-at-age vector as kilograms

Value

ExB a scalar as tonnes.

Examples

## Not run: 
data(fishdat)
str(fishdat)
glb <- fishdat$glb
fish <- fishdat$fish
props <- fishdat$props
unfish <- unfished(glb,props,glb$R0)
N1 <- unfish$N0 * exp(-glb$M/2)  # no growth
ExB(N1,props$sela,props$waa)  # should be 17999.6

## End(Not run)

haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.