ch_sh_get_amax {CSHShydRology} | R Documentation |
Extracts annual maximum values from ECDE dataframe.
Description
Extracts annual maximum values, the date of occurrence, the day of year, and the completeness
from ECDE dataframe. Uses functions from timeDate ( as.timeDate
, dayOfYear
).
Usage
ch_sh_get_amax(df)
Arguments
df |
A dataframe of daily streamflow data from ECDE |
Value
Returns a dataframe with the following variables
year |
|
annual maximum |
|
date of annual maximum |
|
day of year of annual maximum |
|
days |
number of days with observations |
Author(s)
Paul Whitfield
See Also
ch_read_ECDE_flows
ch_circ_mean_reg
Examples
data(CAN05AA008)
amax <- ch_sh_get_amax(CAN05AA008)
str(amax)
[Package CSHShydRology version 1.4.2 Index]