getB0 | R Documentation |
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.
getB0(inR0, inglb, inprops)
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 |
a single number that is the estimate of B0
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.