gwl_area_plot | R Documentation |
An area plot (hydrograph) of groundwater levels, with trend line of a given slope and intercept, optionally with interpolated values shown.
gwl_area_plot(dataframe, trend, intercept, trend_category, sig,
showInterpolated = FALSE, show_stable_line = FALSE, save = FALSE,
path = "./", mkperiod = "annual", opts = NULL)
dataframe |
A dataframe with well level monthly time series and the following columns: Date, med_GWL, nReadings |
trend |
(Numeric) Trend in m/month |
intercept |
(Numeric) Intercept in m |
trend_category |
Trend category: |
sig |
(Numeric) Significance of trend test |
showInterpolated |
(Logical) Show the points where missing values in the time series were interpolated |
show_stable_line |
(Logical) Show the Mann-Kendall trend line when category is
|
save |
Save the graph to file? |
path |
Where to save the graph if |
mkperiod |
The period ( |
opts |
Other options to pass to ggplot2 |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.