wygen: Generate Water Year(WY) tags based on a POSIX date and...

View source: R/wygen.R

wygenR Documentation

Generate Water Year(WY) tags based on a POSIX date and specified last month of the WY.

Description

Generate Water Year(WY) tags based on a POSIX date and specified last month of the WY.

Usage

wygen(dates, last_month = 4)

Arguments

dates

character date that passes coercion to POSIX formatting

last_month

numeric last month of water year

Examples

dates <- "2014-01-01"
dates <- "2015-09-14"
wygen(dates)

jsta/rjsta documentation built on June 7, 2022, 8:39 p.m.