water_year: Derive water year value for a date

View source: R/dateManupulations.R

water_yearR Documentation

Derive water year value for a date

Description

Derive water year value for a date

Usage

water_year(date, start_month = 10)

Arguments

date

the (vector of) dates for which the water year will be calculated

start_month

the month in which the water year starts, default is October

Value

The water year value

Examples

water_year(as.Date(c("2010-11-03", "2013-02-03")))

winfapReader documentation built on Sept. 8, 2022, 5:08 p.m.