Я нашел способ сделать это - но я не знаю, если это
Самый простой способ сделать это!
Я изменил код в ggseasonplot на github
tspx <- tsp(austres %>% window(end=c(1993,1)))
s <- round(frequency(x))
x <- ts(austres, start = tspx[1], frequency = s)
data <- data.frame(
y = as.numeric(x),
year = trunc(time(x)),
cycle = as.numeric(cycle(x)),
time = as.numeric((cycle(x) - 1) / s)
)
austres %>% window(end=c(1993,1)) %>% ggseasonplot()+
layer(
data[nrow(data)-1,] ,
geom = "point",
stat = "identity",
position = "identity", aes(x= time,y=y,col="1993")
)
В результате получается этот сюжет, чего я и хотел