Looped coordinates

coord_loop(
  loop = waiver(),
  time_loop = waiver(),
  time = "x",
  xlim = NULL,
  ylim = NULL,
  expand = TRUE,
  default = FALSE,
  clip = "on",
  coord = coord_cartesian()
)

Examples


library(ggplot2)
p <- as_tsibble(USAccDeaths) |>
  ggplot(aes(x = index, y = value)) +
  geom_line()

p

p + coord_loop(period = "year")
#> Error in coord_loop(period = "year"): unused argument (period = "year")