rmt_plot.cbud: Plot a MT3DMS mass budget

Description Usage Arguments Value

View source: R/plot.R

Description

rmt_plot.cbud plots a MT3DMS mass budget

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'cbud'
rmt_plot(
  cbud,
  btn,
  icomp = 1,
  what = "cumulative",
  fluxes = "all",
  net = FALSE,
  type = "area",
  final = FALSE
)

Arguments

cbud

RMT3DMS cbud object as obtained by rmt_read_bud

btn

RMT3DMS btn object

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 what is "cumulative"

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 what is "cumulative" or "total".

type

character; plot type. Either "bar" or "area".

final

logical; should only the final mass budget be plotted? Defaults to FALSE

Value

ggplot2 object


rogiersbart/RMT3DMS documentation built on Oct. 16, 2021, 9:45 a.m.