decimal.WY: Decimal water year from a date field

View source: R/decimal.WY.R

decimal.WYR Documentation

Decimal water year from a date field

Description

Decimal water year from a date field

Usage

decimal.WY(date, WY.type = "FL")

Arguments

date

Date in as.POSIXct or as.Date format

WY.type

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

Value

Returns decimal water year value based on Federal (Starts Oct 1) or Florida (Starts May 1),

Examples

# Decimal Water Year
decimal.WY(as.Date("2001-05-01"));

SwampThingPaul/AnalystHelper documentation built on March 29, 2024, 6:41 p.m.