plot_analysis_window: Plot lake levels under varying analysis windows

Description Usage Arguments Value

View source: R/plot_analysis_window.R

Description

This function plots the lake level at three predetermined exceedance probabilities (e.g., 10, 50, 90 percent) for a range of analysis end years at all lakes.

Usage

1
2
3
4
5
6
plot_analysis_window(
  df,
  xintercept = NA,
  text_size,
  lakes = c("Pleasant", "Long", "Plainfield")
)

Arguments

df

data frame to plot with the end year of analysis (year), lake level (level), exceedance probability (prob) and lake name (lake)

xintercept

optional year to highlight with a dashed line

text_size

size of text in plots

lakes

the names of the lakes in the order you would like them displayed in plots, etc. Defaults to c("Pleasant", "Long", "Plainfield")

Value

plot_obj, the plot.


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