Learn R Programming

FlowScreen (version 1.2.6)

pk.max.doy: Day of year for annual maximum series

Description

This function returns the day of the hydrologic year for each annual maximum flow.

Usage

pk.max.doy(TS)

Arguments

TS

output from create.ts containing a data.frame of flow time series

Value

Returns a numeric vector containing the day of the (hydrologic) year for each annual maximum flow. The "times" attribute contains the hydrologic year for each element in the vector.

See Also

See create.ts to format the input flow series.

See pk.max for the annual maximum flow series.

Examples

Run this code
# NOT RUN {
data(cania.sub.ts)
res <- pk.max.doy(cania.sub.ts)
res2 <- screen.metric(res, "Day of Year")
# }

Run the code above in your browser using DataLab