Description Usage Arguments Value Examples
This function produces a season variable stored as a factor.
1 | insert_season(data, date_col, hemis = south)
|
data |
a dataframe containing the data |
date_col |
Date variable containing the date to be used in calculating season. |
hemis |
Hemisphere for calculating season "north" or "south" |
the original dataframe with the season variable included
1 2 3 4 5 | insert_season(waves, date_time)
#using dplyr
library(dplyr)
waves %>% insert_season(date_time)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.