Approximate the Instantaneous Rate of ChangeSource:
Estimate the rate of change or first derivative of the raw mean daily streamflow or the smoothed cubic spline fit between time and mean daily streamflow.
numeric vector of mean daily discharges
vector of dates corresponding to daily discharge measurements. Must be class
logical indicating if the first derivative is calculated using a cubic smoothing spline function. Defaults is