This function accepts a data frame that contains a column named "discharge" and calculates RA1; Rise rate. Compute the change in flow for days in which the change is positive for the entire flow record. RA1 is the mean (or median-Use Preference option) of these values (cubic feet per second/day-temporal).
data frame containing a "discharge" column containing daily flow values
string containing a "mean" or "median" preference
ra1 numeric containing RA1 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.