weighted_resids: A function to weight length-weight residuals by catch

Description Usage Arguments Examples

Description

This function weights length-weight residuals by a catch column. This catch can be CPUE from the tow where the fish was caught (most common) or stratum CPUE or biomass.

Usage

1
weighted_resids(year, residuals, catch = 1)

Arguments

year

Year of sample must be the same length as the residuals

catch

Catch for weighting residual (default = 1) must be the same length as residuals

residual

Residual that will be weighted by catch

Examples

1

rooperc4/GroundfishCondition documentation built on May 4, 2019, 1:22 p.m.