ma12.23: Function to return the MA12-23 hydrologic indicator...

Description Usage Arguments Value Examples

View source: R/RProjects/HITHATStats/R/ma12.23.R View source: R/ma12.23.R View source: R/standalone_scripts/stats_observed.r

Description

This function accepts a data frame that contains columns named "discharge" and "month_val" and calculates the means (or medians - use preference option) of monthly flow values. Compute the means for each month over the entire record. For example, MA12 is the mean of all January flow values over the entire record (cubic feet per second - temporal).

Usage

1
  ma12.23(qfiletempf, pref = "mean")

Arguments

qfiletempf

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

pref

string containing a "mean" or "median" preference

Value

ma12.23 data frame containing the mean or medians for each month

Examples

1
2
3

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