Description Usage Arguments Value Author(s) See Also Examples
This function calculates the calculates the mean annual minimum n-day flow by calendar year or by hydrologic year. This function can also be used to find the annual minimum series by setting n=1.
1 |
TS |
output from |
n |
Numeric value for the number of days in the n-day flow period. Default is 7. |
by |
Character string indicating whether to use hydrologic years or calendar years. Default is "hyear". Other option is "year". |
Returns a numeric vector containing the calculated MAM n-day flow for each year in the input time series. The "times" attribute provides the corresponding year for each calculated value.
Jennifer Dierauer
1 2 3 4 5 6 7 8 9 | data(cania.sub.ts)
# find the annual minimum series and plot
res <- MAMn(cania.sub.ts, n=1)
res2 <- screen.metric(res, "Q (m3/s)")
# do the same with MAM 7-day flow instead of annual minimum
res <- MAMn(cania.sub.ts, n=7)
res2 <- screen.metric(res, "Q (m3/s)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.