adfg.calcScaleForInputSSs: Calculate the scale factor for size composition input sample...

View source: R/adfg.calcScaleForInputSSs.R

adfg.calcScaleForInputSSsR Documentation

Calculate the scale factor for size composition input sample sizes

Description

Function to calculate the scale factor for size composition input sample sizes.

Usage

adfg.calcScaleForInputSSs(dfrRC_SSs = NULL, mnYr = 1980, mxYr = 2014)

Arguments

dfrRC_SSs
  • dataframe with retained catch sample sizes

mnYr
  • minimum year for averaging period (default = 1980)

mxYr
  • maximum year for averaging time period (default = 2014)

Details

The scale factor is the average number of retained crab measured annually during dockside sampling across a given time period. The default period is used for Tanner crab. The scale factor scale should be used to determine input sample sizes for size composition data using the formula
inp_ss = min(max_ss,max_ss*(ss/scale))
where max_ss is the maximum allowed input sample size (typically 200) and ss is the original sample size (the total number of crab measured)

Value

scale factor based on average retained crab sample sizes over the averaging period.


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