rmt_plot.cbud
plots a MT3DMS mass budget
# S3 method for cbud rmt_plot( cbud, btn, icomp = 1, what = "cumulative", fluxes = "all", net = FALSE, type = "area", final = FALSE )
cbud |
|
---|---|
btn |
|
icomp | integer selecting for which species to plot the budget; defaults to 1 |
what | character; what to plot, "cumulative", "total", "difference" or "discrepancy". Defaults to "cumulative". |
fluxes | character; either "all" or a character vector with the flux components to plot. Only used when |
net | logical; if TRUE, it sums the inflows and outflows of the flux component to plot the net fluxes. If FALSE, it will plot both the inflows and outflows. Only used when |
type | character; plot type. Either "bar" or "area". |
final | logical; should only the final mass budget be plotted? Defaults to FALSE |
ggplot2 object