rmt_plot.mas: Plot a MT3DMS mass summary file time series

Description Usage Arguments Details Value

View source: R/plot.R

Description

Plot a MT3DMS mass summary file time series

Usage

1
2
## S3 method for class 'mas'
rmt_plot(mas, variable = "all", final = FALSE)

Arguments

mas

RMT3DMS mas object as returned from rmt_read_mas

variable

character specifying which variable to plot. Defaults to 'all'. Allowed values are the colnames of mas.

final

logical, should only the final time step be plotted. Default to FALSE.

Details

plots a time series line plot of the variable. If variable = 'all', ggplot2::facet_wrap is used to plot all variable with free y scales. If final = TRUE, a bar plot is returned using ggplot2::geom_col of the final time step.

Value

ggplot2 object


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