Renders H3 hexagonal cells coloured by CPUE (kg / fishing hour) with a
species toggle control. Cells are capped at the 95th percentile to
prevent outliers from compressing the colour scale.
Usage
plot_cpue_map(cpue_df, species, title = "CPUE (kg / fishing hour)")
Arguments
- cpue_df
A tibble as returned by [model_cpue()] element `$cpue`,
with columns `h3_index`, `cpue`, `species`, `n_trips`.
- species
Character vector of species names to include as map layers.
- title
Character. Map title shown in the top-right control.
Default is `"CPUE (kg / fishing hour)"`.
Value
A `leaflet` htmlwidget.
See also
[model_cpue()], [plot_effort_map()]