plot SST transition_dates

plot_sst_transition_dates_length(
  season = NULL,
  region = NULL,
  shadedRegion = c(2012, 2022),
  shade.fill = "lightgrey",
  shade.alpha = 0.3,
  hline.size = 1,
  hline.alpha = 0.5,
  hline.lty = "dashed"
)

Arguments

season

Character string. Season to plot. (Default = NULL, plot all seasons)

region

Character vector. Regional EPUs ("GB","MAB") to overly on figure. (Default = NULL, use all)

shadedRegion

Numeric vector. Years denoting the shaded region of the plot

shade.fill

Character string. Color of shaded region. (Default = "lightgrey)

shade.alpha

Numeric scalar. Alpha of shaded region (Default = 0.5)

hline.size

Numeric scalar Line width of horizontal line. (Default = 1)

hline.alpha

Numeric scalar. Alpha of horizontal line (Default = 0.5)

hline.lty

Character string. Line type of horizontal line (Default = "dashed")

Value

ggplot object