dates transformation | R Documentation |
Functions to transform dates into other useful information
date2year(datevec)
date2wy(datevec, endMonth = 9)
date2month(datevec)
date2summer(datevec, begMonth = 4, endMonth = 9)
datevec |
a vetor of dates ( |
endMonth |
the month which indicates the end of the Water Year or Summer Season (default is 9, September) |
begMonth |
the month which indicates the beginning of summer (default is 4, April) |
The year, water year or month from the input date. Or a 0-1 indicator of summer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.