basinSoilWaterIcePlot: Plots basin soil water and ice

Description Usage Arguments Value Author(s) See Also Examples

View source: R/basinSoilWaterIcePlot.R

Description

Plots basin soil water and ice

Usage

1
basinSoilWaterIcePlot(basinWaterBalance, layers = c(1, 2))

Arguments

basinWaterBalance

Required. Data frame to be plotted. As read in by read_MESH_OutputTimeseries_csv.

layers

Optional. A vector of the layers to be plotted. By default layers 1 and 2 are used.

Value

Returns a ggplot2 line plot of the variable values (mm) faceted by Layer number. The name of the variable is layer, so you can change change the facetting.

Author(s)

Kevin Shook

See Also

read_MESH_OutputTimeseries_csv basinStoragePlot

Examples

1
2
3
4
## Not run: 
waterBalance <- read_MESH_OutputTimeseries_csv("Basin_average_water_balance.csv")
p <- basinSoilWaterIcePlot(waterBalance)
## End(Not run)

CentreForHydrology/MESHr documentation built on Jan. 11, 2021, 8:34 p.m.