fn_plot_impoundment_flux: fn_plot_impoundment_flux Function: Plot water fluxes and...

View source: R/imp_utils.R

fn_plot_impoundment_fluxR Documentation

fn_plot_impoundment_flux Function: Plot water fluxes and balance info for an impoundment

Description

Generates a plot of Qin, Qout, percent storage remaining and demand

Usage

fn_plot_impoundment_flux(
  dat,
  pur_col = "pct_use_remain",
  Qin_col = "Qin",
  Qout_col = "Qout",
  wd_col = "demand",
  legend_on = TRUE
)

Arguments

dat

a zoo series with all relevant columns

pur_col

Percent use remaining column

Qin_col

Inflow column

Qout_col

Outflow column

wd_col

Withdrawal column

legend_on

Should legend be included on plot?

Value

plot object


HARPgroup/hydro-tools documentation built on July 4, 2025, 11:05 a.m.