Helper function that processes a block of data for catch weighting. Used internally by apply_catch_weighting.
process_weighting_block(
data,
length_cols,
catch_col,
a,
b,
silence_warnings = FALSE
)
Data frame with weighted columns added.
Data frame block to process.
Length column names.
Catch column name.
Coefficient of length-weight relationship.
Exponent of length-weight relationship.
Logical. Suppress warnings.