View source: R/get_mean_weights.R
get_mean_weights | R Documentation |
Calculate mean weights for discarded fish
get_mean_weights(
dir = NULL,
data,
species_name,
gear_groups,
gear_names,
fleet_colname,
fleet_groups,
fleet_names
)
dir |
Directory location to save files. |
data |
A data frame of WCGOP catch data |
species_name |
Species that you want composition data for. |
gear_groups |
List of gear types to group together (example: list(c("Bottom Trawl", "Midwater Trawl"), c("Hook & Line", "Pot", "Shrimp Trawl"))). |
gear_names |
Vector of gear group names (example: c("trawl", "fixed gear")). |
fleet_colname |
Column to use to determine areas for fleets (example: "r_state.x") |
fleet_groups |
List of fleet groups to use (example: list(c("WA", "OR", "CA"))). |
fleet_names |
Vector of fleet names (example: c("coastwide")). |
Chantel Wetzel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.