
Validate Individual Catch Data
validate_catch.RdCompares each fish group catch (in catch_kg) to the upper bounds and flags
values that exceed the bound. Values exceeding bounds are set to NA in the catch_kg column.
Arguments
- data
A data frame containing columns:
catch_id,gear,fish_category,catch_kg.- k
A numeric value passed to
get_catch_boundsfor outlier detection.- flag_value
A numeric value to use as the flag for catches exceeding the upper bound. Default is 4.