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