plot_caaqs: Plot yearly CAAQS

View source: R/plot.R

plot_caaqsR Documentation

Plot yearly CAAQS

Description

Plot yearly CAAQS with exclusions for a particular station

Usage

plot_caaqs(
  x,
  id = NULL,
  id_col = NULL,
  year_min = NULL,
  year_max = NULL,
  plot_std = TRUE,
  plot_mgmt = TRUE,
  base_size = 10,
  annot_size = NULL
)

Arguments

x

an object of class caaqs_mgmt (i.e. output of caaqs_management())

id

Character. Id of the station you would like to plot

id_col

Character. Column in which to look for id

year_min

Numeric. Minimum year to include. Data will be filtered or filled to match.

year_max

Numeric. Maximum year to include. Data will be filtered or filled to match.

plot_std

Logical. Should the CAAQs standard be plotted?

plot_mgmt

Logical. Should the CAAQs management standards be plotted?

base_size

Numeric. Base font size for the plot

annot_size

Numierc. size of annotations. Scaling of this size is not the same as the rest of the font sizes, so you will have to experiment. Defaults to 0.32*base_size

Value

a ggplot2 object


bcgov/rcaaqs documentation built on Dec. 12, 2023, 9:21 a.m.