Description Usage Arguments Examples
Add length groups to Gadget StockStdPrinter output
1 2  | add_lengthgroups(stock_data, length_groups, variable = "number",
  keep_zero_counts = FALSE)
 | 
stock_data | 
 A   | 
length_groups | 
 Numeric vector of length groups to distribute by. The difference in values probably should be the same as dl in Gadget model  | 
variable | 
 Character vector of the variable on which to distribute length groups. Default is "number". Can be "number.consumed" or "biomass.consumed" Returns a wide   | 
keep_zero_counts | 
 Logical. Keep year/step/area/age combinations with no individuals  | 
1  | cod_lendist <- add_lengthgroups(cod_stock_std$cod0, lengrps)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.