month_label.Rd
Converts year and month to 'year-two digit month number-month abbreviation or name
month_label(year, month, abb = FALSE, upper_case = FALSE)
year | integer vector |
---|---|
month | integer vector contain values from 1 to 12 |
abb | if TRUE month abbreviation is used instead of full name (default FALSE) |
upper_case | if TRUE month abbreviation or name is upper case |
month_label(2021, 6)#> [1] "2021_06_June"month_label(2021, 6, abb = TRUE)#> [1] "2021_06_Jun"month_label(2021, 6, upper_case = TRUE)#> [1] "2021_06_JUNE"