Description Usage Arguments Value Examples
Calculates annual extreme events for all years in the series. By default, the function finds annual extreme discharge in streamflow
object, but any matrix or data.frame
may be used.
1 | annualExtremes(x,data.col=NULL, year.col=NULL, moving.avg=FALSE)
|
x |
Object from which to extract extremes. Should be of class |
data.col |
Optional. If input is a matrix or |
year.col |
Optional. If input is a matrix or |
moving.avg |
Logical; defaults to FALSE. Can be specified TRUE to use 7-day moving average discharge when input is of class " |
A list
with items
annual.max |
Matrix giving maximum flow for each year in series. Each row contains the maximum values and all corresponding variables from that observation. |
annual.min |
Matrix giving minimum flow for each year in series. Each row contains the minimum values and all corresponding variables from that observation. |
1 2 3 4 5 | data(sycamore)
sycamore.flows<-asStreamflow(sycamore,river.name="Sycamore Creek")
syc.extremes<-annualExtremes(sycamore.flows)
names(syc.extremes)
syc.extremes$annual.max[1:3,]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.