Description Usage Arguments Value Examples
View source: R/RProjects/HITHATStats/R/ma3.R View source: R/ma3.R View source: R/standalone_scripts/stats_observed.r
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).
1 | ma3(qfiletempf, pref = "mean")
|
qfiletempf |
data frame containing a "discharge" column containing daily flow values |
pref |
string containing a "mean" or "median" preference |
ma3 numeric value of MA3 for the given data frame
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.