The ggtime package provides tools for graphically analysing time series, with exploration of trend and seasonality. It utilises the tsibble data format for time series and produces plots with ggplot2.
You can install the development version of ggtime from GitHub with:
# install.packages("remotes")
remotes::install_github("tidyverts/ggtime")
library(ggtime)
library(tsibble)
#>
#> Attaching package: 'tsibble'
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, union
tsibbledata::aus_production %>%
autoplot(Bricks)
#> Warning: Removed 20 rows containing missing values (`geom_line()`).