adfgZCs_CalcTotZCsFromMPD: Calculate size compositions from measure pot data

View source: R/adfgZCs_CalcTotZCsFromMPD.R

adfgZCs_CalcTotZCsFromMPDR Documentation

Calculate size compositions from measure pot data

Description

Function to calculate size compositions from measure pot data.

Usage

adfgZCs_CalcTotZCsFromMPD(dfr, fn = NULL)

Arguments

dfr
  • data.frame from function adfgRead_MPD

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.