powered by
Simplified seasonal plot creation of time series objects in order to identify seasonal patterns.
seasonplot_gg(x)
The function returns a ggplot2 plot object.
ggplot2
a time series object of class "ts".
"ts"
The function returns an plot object in the style of ggplot2. The plot can therefore be adjusted easily using common ggplot2 syntax.
seasonplot_gg(TEMPERATURE) + ggplot2::ylab("Degrees Celsius") + ggplot2::ggtitle("Seasonal plot of German temperature data")
Run the code above in your browser using DataLab