Plot a MT3DMS mass summary file time series

# S3 method for 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.

Value

ggplot2 object

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.