Get depth data by year and calculate boxplot stats on it.
get_depth_by_year(
d,
type = c("bottom", "gear"),
yrs = NULL,
min_depth_cutoff = 50/1.8288
)
Arguments
- d
Output from [load_spatial_catch_data().
- type
One of "bottom" or "gear" for depth type.
- yrs
A vector of years to include. If NULL
, all years in the data
will be included.
- min_depth_cutoff
The depth for which to remove data. In fasthoms.
All data shallower than this will be removed.
Value
A tibble containing year and depth record stats.