num_to_bio: Converts numbers-at-age to biomass-at-age or vice versa....

Description Usage Arguments

View source: R/sim_funs.R

Description

Converts numbers-at-age to biomass-at-age or vice versa. Inputs need to be a dataframe, not a matrix.

Usage

1
num_to_bio(df, dat.list, Natage = T, age0 = F)

Arguments

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


mcoshima/moMSE documentation built on Nov. 26, 2020, 5:39 a.m.