Description Usage Arguments Value
View source: R/plot_gradients.R
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.
1 2 3 4 5 6 7 | plot_gradients(
df,
date_intervals = "6 months",
date_formats = "%b '%y",
title = "",
text_size = 10
)
|
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 |
plot_obj - a plot object with water level difference and dates of isotope measurements for each lake site.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.