ra1: Function to return the RA1 hydrologic indicator statistic for...

Description Usage Arguments Value Examples

View source: R/standalone_scripts/stats_observed.r View source: R/standalone_scripts/stats_compare_wps.r View source: R/ra1.R View source: R/RProjects/HITHATStats/R/ra1.R

Description

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).

Usage

1
  ra1(qfiletempf, pref = "mean")

Arguments

qfiletempf

data frame containing a "discharge" column containing daily flow values

pref

string containing a "mean" or "median" preference

Value

ra1 numeric containing RA1 for the given data frame

Examples

1
2

jlthomps/EflowStats documentation built on May 19, 2019, 12:48 p.m.