plot_timing: Plot monthly timeseries

Description Usage Arguments Value

View source: R/plot_timing.R

Description

Given a data frame with lake levels for a single lake or multiple lakes, plot the estimated and observed lake levels. If data frame has multiple lakes, will display as facet plots. Options to add yintercepts. Also option to add second axis with lake depth, if only plotting one lake.

Usage

1
2
3
4
5
6
7
plot_timing(
  df,
  title = "",
  text_size = 12,
  force_pfl = TRUE,
  npretty_breaks = NULL
)

Arguments

df

a data frame with columns for "lake", "date", "level_obs", and "level".

title

string to use for title of plot, defaults to "".

text_size

size of text, defaults to 12

force_pfl

defaults to TRUE to force the y-limits of plainfield lake to the same as long lake.

npretty_breaks

defaults to NULL, set to 3 to limit Long, Plainfield, and Pleasant to integers (or play around, may be different with different periods of record)

Value

plot_obj, a plot with the imputed and observed lake levels.


WDNR-Water-Use/CSLSlevels documentation built on Nov. 21, 2020, 9:13 a.m.