get_mean_weights.Rd
Calculate mean weights for discarded fish
get_mean_weights(
dir = NULL,
data,
species,
gear_groups,
gear_names,
fleet_colname,
fleet_groups,
fleet_names
)
Directory location to save files.
A data frame of WCGOP catch data
Species that you want composition data for.
List of gear types to group together (example: list(c("Bottom Trawl", "Midwater Trawl"), c("Hook & Line", "Pot", "Shrimp Trawl"))).
Column to use to determine areas for fleets (example: "r_state.x")
List of fleet groups to use (example: list(c("WA", "OR", "CA"))).
Vector of fleet names (example: c("coastwide")).
Vector of gear group names (example: c("trawl", "fixed gear")).