ExtractAmax.formula: Extract the Annual maximum of daily time series

Description Usage Arguments Examples

Description

Returns a dataframe containing the annual maximums, the date of the peaks occur and the number of days.

Usage

1
2
## S3 method for class 'formula'
ExtractAmax(form, x)

Arguments

form

Formula of the form value ~ date.

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.

Examples

1
2
3
xx <- canadaFlood$daily

ExtractAmax(flow~date, xx)

martindurocher/floodRFA documentation built on June 5, 2019, 8:44 p.m.