View source: R/utils_date_time.R
| season_factor | R Documentation |
Season as factor/numeric
season_factor(x, label = FALSE, abbr = TRUE)
x |
|
factor If x is provided, the season as a factor. If x is not provided, an ordered factor of the seasons.
Other time:
duration_print(),
excel_date(),
month_factor(),
time_aggregates,
time_difftimes,
time_elapsed(),
time_factor(),
timespan(),
week_factor()
season_factor()
season_factor(c('Sp', 'Su'))
season_factor(c('Sp', 'Su'), label = TRUE)
season_factor(seq(lubridate::floor_date(Sys.time(), "year"), Sys.time(), by = "day"), label = TRUE, abbr = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.