setupYears: Creates the AnnualResults data frame from the Daily data frame
Description
This function aggregates the results stored on a daily basis in the Daily data frame
and stores the average values of these in the new data frame called AnnualResults.
The "annual values" can be a full 12 months, or they can be shorter.
See manual to understand paLong and paStart arguments.
The simplest case, a Water Year (October through September), would have
paLong=12, and paStart=10.
A calendar year would be paLong=12 and paStart=1.
A winter season of Dec, Jan, Feb would be paLong=3 and paStart=12
Usage
setupYears(localDaily, paLong = 12, paStart = 10)
Arguments
localDaily
data frame containing the daily values, default is Daily
paLong
numeric integer specifying the length of the period of analysis, in months, 1
paStart
numeric integer specifying the starting month for the period of analysis, 1