get_depth_by_year.Rd
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
)
Output from [load_spatial_catch_data().
One of "bottom" or "gear" for depth type.
A vector of years to include. If NULL
, all years in the data
will be included.
The depth for which to remove data. In fasthoms. All data shallower than this will be removed.
A tibble containing year and depth record stats.