ebase_plot {EBASE} | R Documentation |
Plot results from EBASE
Description
Plot results from EBASE
Usage
ebase_plot(res, asnem = FALSE, instantaneous = TRUE)
Arguments
res |
output data frame from |
asnem |
logical indicating if |
instantaneous |
logical indicating if results are instantaneous (default) or averaged to daily |
Details
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.
Value
A ggplot
Examples
# plot instantaneous
ebase_plot(exres)
# plot NEM, negative R, exclude D
ebase_plot(exres, asnem = TRUE)
# plot daily-averaged
ebase_plot(exres, instantaneous = FALSE)
[Package EBASE version 1.1.0 Index]