plot_ts: Plot daily time series data with exceedances and optionally...

View source: R/plot.R

plot_tsR Documentation

Plot daily time series data with exceedances and optionally caaqs for a particular station

Description

Plot daily time series data with exceedances and optionally caaqs for a particular station

Usage

plot_ts(
  x,
  id = NULL,
  id_col = NULL,
  rep_yr,
  plot_caaqs = TRUE,
  plot_exceedances = FALSE,
  base_size = 10,
  annot_size = NULL
)

Arguments

x

an object of class caaqs

id

the id of the station you would like to plot

id_col

the column in which to look for id

rep_yr

The reporting year

plot_caaqs

Should the caaqs be plotted?

plot_exceedances

logical. Should exceedances be plotted?

base_size

base font size for the plot

annot_size

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.