ch_sh_get_amax {CSHShydRology} | R Documentation |
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
).
ch_sh_get_amax(df)
df |
A dataframe of daily streamflow data from ECDE |
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 |
Paul Whitfield
ch_read_ECDE_flows
ch_circ_mean_reg
data(CAN05AA008)
amax <- ch_sh_get_amax(CAN05AA008)
str(amax)