| ebase_plot | R Documentation |
Plot results from EBASE
ebase_plot(res, asnem = FALSE, instantaneous = TRUE)
res |
output data frame from |
asnem |
logical indicating if |
instantaneous |
logical indicating if results are instantaneous (default) or averaged to daily |
The plot shows P, R, and D over time as positive values if asnem = F (default). Positive values for D are ingassing, negative outgassing.
If asnem = T, NEM is plotted as a separate line as the difference between P and R. R is shown as negative values to indicate the negative influence on NEM. D is also excluded.
If instantaneous = F, the plot shows daily-averaged values. The y-axis units are the same for daily or instantaneous values.
A ggplot
# plot instantaneous
ebase_plot(exres)
# plot NEM, negative R, exclude D
ebase_plot(exres, asnem = TRUE)
# plot daily-averaged
ebase_plot(exres, instantaneous = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.