View source: R/utils_date_time.R
month_factor | R Documentation |
Month as factor/numeric
month_factor(x, label = FALSE, abbr = TRUE)
x |
|
factor
If x
is provided, the month as a factor. If x
is not provided, an ordered factor of the months
Other time:
duration_print()
,
excel_date()
,
season_factor()
,
time_aggregates
,
time_difftimes
,
time_elapsed()
,
time_factor()
,
timespan()
,
week_factor()
month_factor()
month_factor(c('Se', 'No'))
month_factor(c('Se', 'No'), label = TRUE)
month_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.