decimal.WY | R Documentation |
Decimal water year from a date field
decimal.WY(date, WY.type = "FL")
date |
Date in as.POSIXct or as.Date format |
WY.type |
Specifies Federal ("Fed") or Florida ("FL") water years |
Returns decimal water year value based on Federal (Starts Oct 1) or Florida (Starts May 1),
# Decimal Water Year
decimal.WY(as.Date("2001-05-01"));
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.