Skip to contents

Calculates upper bounds for catch weights by gear type and catch taxon using robust statistical methods. The function performs the following steps:

  1. Filters out invalid fish categories

  2. Groups data by gear and fish category

  3. Calculates upper bounds on log scale and exponentiates results

Usage

get_catch_bounds(data = NULL, k_param = NULL)

Arguments

data

A dataframe containing survey data with columns for gear, catch_taxon, and catch_kg

k_param

Numeric parameter for the LocScaleB outlier detection (default: NULL). Higher values are more conservative in outlier detection.

Value

A dataframe containing upper catch bounds for each gear and catch taxon combination