plot_gradients: Plot water level gradients and isotope sample dates for wells

Description Usage Arguments Value

View source: R/plot_gradients.R

Description

This function creates a plot object to compare the difference in lake level and well level measurements for all sites at a given lake, paired with when isotope measurements were collected at each site.

Usage

1
2
3
4
5
6
7
plot_gradients(
  df,
  date_intervals = "6 months",
  date_formats = "%b '%y",
  title = "",
  text_size = 10
)

Arguments

df

data frame with the date, site_id, water level difference (diff_m), and sample result, if exists (d18O).

date_intervals

string with desired break interval for dates, defaults to "6 months".

date_formats

string with desired formatting for date labels, defaults to "%b '%y" for "Oct '19"-type formatting.

title

string to use for title, defaults to "". Could be sprintf("%s Lake - Water Level Comparison", lake)

text_size

size of font, defaults to 10 point

Value

plot_obj - a plot object with water level difference and dates of isotope measurements for each lake site.


cvoter/isoH2Obudget documentation built on March 29, 2020, 11:07 a.m.