Numbers caught and the CPUE in each length class
dr_add_n_and_cpue.RdThis function generates two new columns: n (numbers caught) and
cpue (numbers caught per one hour towing) for the length table (HL).
Usage
dr_add_n_and_cpue(
d,
NumberAtLength = NumberAtLength,
HaulDuration = HaulDuration,
SubsamplingFactor = SubsamplingFactor
)Arguments
- d
DATRAS length table (HL) containing columns
.id, a column forNumberAtLength, a column forHaulDuration, and a column forSubsamplingFactor.- NumberAtLength
The column specifying the number of individuals (unquoted). Defaults to
NumberAtLength.- HaulDuration
The column specifying haul duration (unquoted). Defaults to
HaulDuration.- SubsamplingFactor
The column specifying the subsampling factor (unquoted). Defaults to
SubsamplingFactor.