Description Usage Arguments Value Examples
Originally from smwrBase, borrowed to remove dependency on that package. Takes a date and returns the water year.
1 |
x |
an object of class "Date" or "POSIXt." Missing values are permitted and result in corresponding missing values in the output. |
numeric |
numeric a logical value that indicates whether the returned values should be numeric TRUE or an ordered factor FALSE. The default value is FALSE. |
A dataframe containing all samples with applicable flags
1 | waterYear("2015-01-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.