View source: R/complete_water_years.R
complete_water_years | R Documentation |
Get Indices of Complete Water Years
complete_water_years(x, start_month = 10)
x |
vector of dates |
start_month |
first month of the water year |
dates <- seq.Date(from=as.Date("2000-01-01"), to=as.Date("2004-12-31"), by="1 day") dates_complete <- dates[complete_water_years(dates, start_month=10)] # 2000-10-01 -> 20014-09-30
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.