Description Usage Arguments Value
View source: R/classify_season.R
Given a timeseries of observations and a list of which month falls in which season, classify what season each observation falls into.
1 2 3 4 5 |
df |
the input data frame, with a column for "date" that has the observation datetime in POSIXct. |
seasons |
a list of the names of each season and the vectors of which months fall into each season (e.g., list(summer = c(6, 7, 8), fall = c(9, 10, 11))). |
df, the input data frame with a column added for the season of the observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.