When I use gg_season (in the feasts pkg) to plot tsibble data I often get x-axis labelling that adds a label twice or in the wrong place.
I've used the
pedestrian dataset to illustrate but I have used other datasets and had similar labelling issues return.
Have other folks had this problem? If anyone knows how to resolve please let me know.
#> summing to daily z <- index_by(pedestrian, Date) %>% summarise(Count2 = sum(Count)) gg_season(z, y = Count2, period = 'year') #>summing to weekly z2 <- index_by(pedestrian, yearweek(Date)) %>% summarise(Count2 = sum(Count)) gg_season(z2, y = Count2, period = 'year')