Description Usage Arguments Value Note Author(s)
Provides 'lubridate' type functions for getting numeric values from 'Date' and 'POSIXt' objects based on the water year.
1 2 3 4 5 |
t |
timestamp object (e.g. |
splitMonths |
numerals for months that are to be split in two for 14 (or n) period models, defaults to April (7) and August (11). |
splitDay |
day on which months should be split, defaults to 16. |
monthAbbrevs |
the ordered abbreivations to use, defaults to wymonth.abb. Use month.abb if you want calendar year order, month.name if you want full month names |
sep |
separator between month and periodNames |
case |
function to convert cases, |
periodNames |
- naming convention for periods, defaults to 1 and 2, for example, could be I and II, or A and B. |
wateryear
water year for a given timestamp (October of previous calendar year through September)
wymonth
month of water year (Oct = 1, Sept = 12)
wyday
day of water year (01Oct=1, 30Sep=365+leapyear(y))
wymonth.abb
abbreviated months of year sorted by water year order
months14
returns a function that when diven a timestamp, returns a factor of the 'abbreviated' 14-period months, can be more split periods than just typical 14-periods.
wy
is no longer provided due to conflicts with the common use in hydrologic programs
Evan Heisman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.