View source: R/setSeasonLabel.R
setSeasonLabel | R Documentation |
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.
setSeasonLabel(localAnnualResults, monthLab = 1)
localAnnualResults |
data frame that contains the annual results, default is AnnualResults |
monthLab |
object of monthLabel class, or numeric represented the short code, or character representing the descriptive name. |
periodName character which describes the period of analysis
eList <- Choptank_eList
Daily <- getDaily(eList)
AnnualResults <- setupYears(Daily)
setSeasonLabel(AnnualResults)
AnnualResultsWinter <- setupYears(Daily,
paLong = 3,
paStart = 12)
setSeasonLabel(AnnualResultsWinter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.