Skip to contents

Evaluates a hydrograph over a time grid.

Usage

discretize_hydrograph(hydrograph, niter, times_to = "time", flows_to = "flow")

Arguments

hydrograph

A hydrograph object.

niter

Number of time points in the grid.

times_to, flows_to

Column names for the time and flow values.

Value

A data frame representation of a hydrograph.

Examples

hyd_snow(5, 2) |>
  discretize_hydrograph(100) |>
  plot()