R/CreateY.R
CreateY.Rd
Creates a categorical variable of year type that is either based on a water year or financial year.
CreateY(Date, Ytype)
date vector
year type, either 'WY' (water year) or 'FY' financial year