This function accepts a data frame that contains a column named "discharge" and calculates RA8; Number of reversals. Compute the number of days in each year when the change in flow from one day to the next changes direction. RA8 is the average (or median - Use Preference option) of the yearly values (days-temporal). RA9; Variability in reversals. Compute the standard deviation for the yearly reversal values. RA9 is 100 times the standard deviation divided by the mean (percent-spatial).
data frame containing a "discharge" column containing daily flow values
ra8.9 list containing RA8 and RA9 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.