Description Usage Arguments Examples
Returns a dataframe containing the annual maximums, the date of the peaks occur and the number of days.
1 2 | ## S3 method for class 'formula'
ExtractAmax(form, x)
|
form |
Formula of the form |
x |
Data containing the date and variable. If a data.frame is passed directly the first column is used as value and the second as date. |
1 2 3 | xx <- canadaFlood$daily
ExtractAmax(flow~date, xx)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.