Biweekly Period during Water Year

biweek.period(date, WY.type = "FL")

Arguments

WY.type

Specifies Federal ("Fed") or Florida ("FL") water years

Date

Date in as.POSIXct or as.Date format

Value

Similar to "Week Number" function in base or lubridate, this function determines the two week period starting during any given water year (Federal or Florida).

Note

See WY() function

Examples

dates=as.Date(c("2015-05-01","2015-08-20","2015-12-15"))
biweek.period(dates)
#> [1]  1  9 17