Converts numbers-at-age to biomass-at-age or vice versa. Inputs need to be a dataframe, not a matrix.
1 | num_to_bio(df, dat.list, Natage = T, age0 = F)
|
df |
dataframe of values you are converting |
dat.list |
list that contains matrix of weights at age |
Natage |
default is TRUE, T converts N-at-age to biomass, F converts B-at-age to numbers |
age0 |
defualt is FALSE, will exclude age0 in calculations, TRUE will include them |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.