adfgZCs_CalcRetZCsFromDSD: Calculate retained catch size compositions from dockside data

View source: R/adfgZCs_CalcRetZCsFromDSD.R

adfgZCs_CalcRetZCsFromDSDR Documentation

Calculate retained catch size compositions from dockside data

Description

Function to calculate retained catch size compositions from dockside data.

Usage

adfgZCs_CalcRetZCsFromDSD(dfr, fn = NULL)

Arguments

dfr
  • data.frame from function adfgRead_DSD

fn
  • name of file to write csv to (or NULL not to write)

Details

Uses sqldf::sqldf and wtsUtilities::Sum.

Value

a dataframe with columns

  • year

  • fishery

  • area

  • sex

  • maturity

  • shell condition

  • size

  • count


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