getB0: getB0 calculates the B0 from biological properties and R0

View source: R/aspm.r

getB0R Documentation

getB0 calculates the B0 from biological properties and R0

Description

getB0 calculates the B0 from biological properties of M, maxage, maa, and waa, plus the input of R0 on the nominal scale (the hypothetical unfished recruitment level). This is used in the 'dynamics' function.

Usage

getB0(inR0, inglb, inprops)

Arguments

inR0

the estimate of unfished recruitment

inglb

the glb data.frame from readdata or built in dataset

inprops

the props data.frame from readdata or built in dataset

Value

a single number that is the estimate of B0

Examples

## Not run: 
data(fishdat)
glb <- fishdat$glb
props <- fishdat$props
getB0(1275000,glb,props) # shoud give 19429.76
getB0(1000000,glb,props) # should give 15239.03

## End(Not run)

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