process_weighting_block {Tivy} | R Documentation |
Process weighting block
Description
Helper function that processes a block of data for catch weighting. Used internally by apply_catch_weighting.
Usage
process_weighting_block(
data,
length_cols,
catch_col,
a,
b,
silence_warnings = FALSE
)
Arguments
data |
Data frame block to process. |
length_cols |
Length column names. |
catch_col |
Catch column name. |
a |
Coefficient of length-weight relationship. |
b |
Exponent of length-weight relationship. |
silence_warnings |
Logical. Suppress warnings. |
Value
Data frame with weighted columns added.
[Package Tivy version 0.1.1 Index]