ma3: Function to return the MA3 hydrologic indicator statistic for...

Description Usage Arguments Value Examples

View source: R/standalone_scripts/stats_observed.r View source: R/ma3.R View source: R/RProjects/HITHATStats/R/ma3.R

Description

This function accepts a data frame that contains a column named "discharge" and calculates the mean (or median - use preference option) of the coefficients of variation (standard deviation/mean) for each year. Compute the coefficent of variation for each year of daily flows. Compute the mean/median of the annual coefficients of variation (percent).

Usage

1
  ma3(qfiletempf, pref = "mean")

Arguments

qfiletempf

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

pref

string containing a "mean" or "median" preference

Value

ma3 numeric value of MA3 for the given data frame

Examples

1
2

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