It seems that timetk does not avec the equivalent of the feasts::gg_season()function.
I was trying to plot with timetk (+ ggplot) the 3 last plots of the vic_elec dataset (as a tibble !), I just could not do it.
With regards to the a10 dataset plot on the same page, it was easy (see below), but for the vic_elec dataset mentioned above it would require more lines of code.
gp_a10 <- a10_tbl %>%
tk_seasonal_diagnostics(.date_var = Month,
.value = Cost) %>%
ggplot() +
geom_line(mapping = aes(x = month.lbl,
y = .value,
group = year,
color = year))
ggplotly(gp_a10)
It seems that timetk does not avec the equivalent of the
feasts::gg_season()
function. I was trying to plot with timetk (+ ggplot) the 3 last plots of the vic_elec dataset (as a tibble !), I just could not do it.With regards to the a10 dataset plot on the same page, it was easy (see below), but for the vic_elec dataset mentioned above it would require more lines of code.