This function accepts a data frame that contains a column named "discharge" and calculates RA6; Change of flow. Compute the loge of the flows for the entire flow record. Compute the change in log of flow for days in which the change is positive for the entire flow record. RA6 is the median of these values (cubic feet per second-temporal).
data frame containing a "discharge" column containing daily flow values
ra6 numeric containing RA6 for the given data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.