Skip to contents

Get retained catch from fish ticket data

Usage

get_retained_catch(ft_data, by = NULL, units = "t")

Arguments

ft_data

NULL. Fish ticket data with fields 'crab_year', 'fishery', 'effort' and whatever variables are specified in by.

by

NULL. Vector of column names other than crab year, fishery to use as a grouping variable. Must by present in ft_data.

units

NULL. Unit of measurement, "t" or "lb". Default = "t".

Value

Data frame including crab year, fishery, grouping variables, and average weight.

Examples

get_retained_catch(ft_data, by = NULL)
#> Error: object 'ft_data' not found