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
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).
1 | ma12.23(qfiletempf, pref = "mean")
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
pref |
string containing a "mean" or "median" preference |
ma12.23 data frame containing the mean or medians for each month
1 2 3 | qfiletempf<-sampleData
ma12.23(qfiletempf)
ma12.23(qfiletempf,pref="median")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.