Learn R Programming

FlowScreen (version 0.9)

hyear.internal: Add hydrologic Year, month, and doy columns to a daily time series

Description

Add hydrologic Year, month, and doy columns to a daily time series

Usage

hyear.internal(TS, hyrstart = 1)

Arguments

TS
Output from create.ts function.
hyrstart
define start month of hydrologic year. Defaults to 10 (October).

Value

  • Returns a data.frame with hyear, hmonth, and hdoy columns appended to the original input data.frame.