View source: R/sum_fleets_catches.R
sum_fleets_catches | R Documentation |
sum_fleets_catches
is a helper function to apply
sum_fleet_catches
to all fleets, returning a single list of matrices
with the catches of each population across all fleets and vessels.
sum_fleets_catches(
FUN = sum_fleet_catches,
fleets_log = NULL,
sim_init = sim,
...
)
FUN |
is the function, i.e. |
fleets_log |
is the log of all the catches for all fleets, coming from application of go_fish_fleet to all fleets |
n_spp |
is the number of populations in the simulation (NOTE: can remove this and take from the overall sim settings) |
is a list of matrices (one for each population) with all fleets catches of each population. This is then used as an input to the baranov calcs
spp_catches <- sum_fleets_catches(FUN = sum_fleet_catches,
fleets_log = applied_to_fleets, n_spp = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.