genSeasonList | R Documentation |
Generates a list with data.frame elements for each season.
genSeasonList(temps, mrange = c(8, 6), years)
temps |
data.frame. Must have columns 'Temp' containing the temperatures, 'JDay' the JDays, 'Month' the months and 'Year' the years. This kind of data frame is for instance generated by stack_hourly_temps, but can also be generated by hand or using a different routine. |
mrange |
numeric. vector of length two for the range of months the season should span. E.g. 'mrange=c(8,6)' would span a season from August to next June. There must not be any overlap in months, i.e. mrange[1] must be larger mrange[2]. |
years |
numeric. vector of years to be considered |
Returns a list of data frames. Each element of the list corresponds to one season. The 'data.frame' for each year has named columns 'Temp', 'JDay' and 'Year'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.