plot_survey_maps: Plot survey maps

View source: R/maps.R

plot_survey_mapsR Documentation

Plot survey maps

Description

plot_survey_maps() is a helper function that calls gfplot::plot_survey_sets() appropriately for the various surveys.

Usage

plot_survey_maps(
  pred_dat,
  raw_dat,
  show_axes = FALSE,
  show_raw_data = TRUE,
  pos_pt_col = "#FFFFFF60",
  bin_pt_col = "#FFFFFF40",
  pos_pt_fill = "#FFFFFF05",
  north_symbol = FALSE,
  fill_column = "combined",
  trans = "sqrt",
  show_model_predictions = TRUE,
  annotations = c("SYN", "IPHC", "HBLL"),
  syn_qcs_hs_year = 2019,
  syn_wcvi_year = 2018,
  syn_wchg_year = 2018,
  hbll_n_year = 2017,
  hbll_s_year = 2018,
  iphc_year = 2018,
  ...
)

Arguments

pred_dat

The pred_dat element from fit_survey_maps().

raw_dat

The raw_dat element from fit_survey_maps().

show_axes

Logical for whether or not to show axes.

show_raw_data

Logical for whether or not show the raw data.

pos_pt_col

The colour for the positive points.

bin_pt_col

The colour for the occurrence/binary points.

pos_pt_fill

The fill colour for the positive points.

north_symbol

Logical for whether or not to include the North symbol.

fill_column

A character object describing the fill column name.

trans

The transformation function to apply to the color scale. Passed to viridis::scale_fill_viridis().

show_model_predictions

Logical for whether or not to show the model predictions.

annotations

A character object describing which annotations to include. These annotations include the relevent years on the map.

syn_qcs_hs_year

Year for a synoptic survey label.

syn_wcvi_year

Year for WCVI synoptic survey label.

syn_wchg_year

Year for WCHG synoptic survey label.

hbll_n_year

Year for a HBLL N survey label.

hbll_s_year

Year for a HBLL S survey label.

iphc_year

Year for IPHC survey label.

...

Any other arguments to pass to gfplot::plot_survey_sets().


pbs-assess/gfsynopsis documentation built on March 26, 2024, 7:30 p.m.