View source: R/get_waterYearDay.R
get_waterYearDay | R Documentation |
Given a vector of dates, calculates day of water year accounting for leap years.
get_waterYearDay(x)
x |
A vector of class date. |
A numeric vector of day of water year
https://rdrr.io/github/USGS-R/EflowStats/src/R/get_waterYearDay.R x <- seq(from=as.Date("2010-01-01"),to=as.Date("2016-01-01"),by="1 days") get_waterYearDay(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.