waterYear | R Documentation |
This function assigns water years to standard dates.
waterYear(dates, start_month = 10)
dates |
Input date vector. Must of class "Date". |
start_month |
Month to start water year. Default is 10. |
Returns vector of water years.
dates=as.Date(c("2022-09-29","2022-09-30","2022-10-01","2022-10-02","2022-10-03"))
waterYear(dates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.