This function accepts a data frame that contains a column named "discharge" and calculates DL19; Variability in the number of zero-flow days. Compute the standard deviation for the annual number of zero-flow days. DL19 is 100 times the standard deviation divided by the mean annual number of zero-flow days (percent-spatial).
data frame containing a "discharge" column containing daily flow values
dl19 numeric containing DL19 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.