Return a string giving the water year for a date

Description Usage Arguments Value Examples

View source: R/which.min.zoo.R

These functions calculate the date (or more specifically, the value of the index of a zoo object) of an extreme value for a zoo series.

1 2 3 4 5 | ```
which.min.zoo(x)
which.max.zoo(x)
which.range.zoo(x)
``` |

`x` |
a zoo object |

the value of the index for the min, max, or range

1 2 3 4 | ```
x <- zoo(1:10)
which.min.zoo(x)
which.max.zoo(x)
which.range.zoo(x)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.