Description Usage Arguments Value Examples
Converts a date time series to SWAT IO format dates
1 | getSWATdates(dates, dateformat = "yyyy-mm-dd")
|
dates |
- Input vector of dates in as Date or character class. |
dateformat |
- Format of input dates. Can be 'yyyy-mm-dd', 'mm-dd-yyyy', 'mm/dd/yyyy', 'yyyy/mm/dd','dd/mm/yyy', or 'dd-mm-yyy'. Default is 'yyyy-mm-dd'. |
returns a time series of swat IO format dates from the input
1 2 | dates = c('2000-12-28', '2000-12-29')
getSWATdates(dates)
|
[1] "2000362" "2000363"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.