Get Catch Bounds
get_catch_bounds.Rd
This function calculates the upper bounds for catch data based on gear type and fish category.
Arguments
- data
A data frame containing columns: gear, fish_category (or total_catch_kg), and catch_kg (or total_catch_kg).
- k
A numeric value used in the LocScaleB function for outlier detection.
- total_catch
A logical value indicating whether to calculate bounds for total catch (TRUE) or individual catch (FALSE).