Create a character variable that describes the period of analysis, when period of analysis has already been set in AnnualResults
Source:R/setSeasonLabel.R
setSeasonLabel.Rd
The period of analysis can be of any length from 1 month to 12 months. The period of analysis can have any starting month from 1 (January) through 12 (December). This function produces a character character that describes this period of analysis. For example "water year", "calendar year", "year starting with April", or "Season consisting of April, May, June". There is an alternative version of this function for the case where AnnualResults does not exist. This might arise in a call from plotConcTime or plotLogConcTime. That function is called setSeasonLabelByUser.
Examples
eList <- Choptank_eList
Daily <- getDaily(eList)
AnnualResults <- setupYears(Daily)
setSeasonLabel(AnnualResults)
#> [1] "Water Year"
AnnualResultsWinter <- setupYears(Daily,
paLong = 3,
paStart = 12)
setSeasonLabel(AnnualResultsWinter)
#> [1] "Season Consisting of Dec Jan Feb"