adfg.calcRetainedCatchZCs: Calculate expanded annual retained catch size compositions by...

View source: R/adfg.calcRetainedCatchZCs.R

adfg.calcRetainedCatchZCsR Documentation

Calculate expanded annual retained catch size compositions by crab fishery, area, year, sex and shell condition

Description

Function to calculate expanded annual retained catch size compositions by crab fishery, area, year, sex and shell condition.

Usage

adfg.calcRetainedCatchZCs(tblRetAB, tblRetZCsRaw)

Arguments

tblRetAB
  • dataframe with retained catch abundance and biomass by fishery, area, year, and sex

tblRetZCsRaw
  • "raw" retained catch size compositions (counts)by fishery, area, year, sex, shell condition and size

Details

Uses readr::read_csv() and stringr::str_sub().

Value

a datarame with columns

  • fishery

  • area

  • sex

  • shell condition

  • year

  • size

  • abundance (in thousands of crab)


wStockhausen/tcsamFisheryDataADFG documentation built on April 18, 2023, 12:56 p.m.