Convert day of year (doy) to date in month and day format
doy2date(doy, format = "%d-%b")
Date in month and day format in character format
No leap year is considered
doy2date(seq(1, 10))
#> [1] "01-Jan" "02-Jan" "03-Jan" "04-Jan" "05-Jan" "06-Jan" "07-Jan" "08-Jan"
#> [9] "09-Jan" "10-Jan"