create_groups: Create gear and fleet groups

View source: R/create_groups.R

create_groupsR Documentation

Create gear and fleet groups

Description

Create gear and fleet groups

Usage

create_groups(
  data,
  gear_groups,
  gear_names,
  fleet_colname,
  fleet_groups,
  fleet_names
)

Arguments

data

A data frame of WCGOP catch data

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")).

Author(s)

Chantel Wetzel


nwfsc-assess/nwfscDiscardBootstrap documentation built on June 10, 2025, 12:01 a.m.