create_yr_semester_age_length_key: Creates Age length key

View source: R/create_yr_semester_age_length_key.r

create_yr_semester_age_length_keyR Documentation

Creates Age length key

Description

Uses Gerritsen et al (2006) method for predicting missing values in age length key. Currently disregards gear type and only uses QTR/SEMESETER/YEAR.

Usage

create_yr_semester_age_length_key(
  expandedLandings,
  ageLengthData,
  filterYrs,
  plusAge,
  referenceAge,
  printConvergence = F
)

Arguments

expandedLandings

Data frame. Landings expanded by length distribution

ageLengthData

Data frame. Age-length data from databases

filterYrs

Numeric scalar. The First year in which age length key is required

plusAge

Numeric scalar. Maximum age category. (eg , 10+)

referenceAge

Numeric scalar.Used in the GLM as the age against which all the other ages are estimated. It is typically the most abundant age.

printConvergence

Boolean. Should convergence messages from multinom be printed to console (Default = F)

Value

Data frame


NOAA-EDAB/neusCatch documentation built on Oct. 17, 2023, 7:07 a.m.