CalcWaterYear: Returns the water year or the day of water year for a given...

Description Usage Arguments Examples

View source: R/utilities.R

Description

CalcWaterYear Returns the water year or the day of water year for a given POSIXct.

Usage

1

Arguments

POSIXct

is a POSIXct variable.

dayOf

signals if you want to get back the day of the water year instead of the water year.

Examples

1
2
CalcWaterYear(as.POSIXct(c("2011-09-30", "2011-10-01"), tz='US/Pacific'))
CalcWaterYear(as.POSIXct(c("2011-09-30", "2011-10-01"), tz='US/Pacific'), dayOf=TRUE)

mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.