robjhyndman / vital

Tidy Analysis Tools for Mortality, Fertility, Migration and Population Data

Home Page:https://pkg.robjhyndman.com/vital

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify rainbow_plot to allow bare variables

robjhyndman opened this issue · comments

Similar to fabletools::autoplot.tbl_ts
Test case:

aus_mortality |>
  dplyr::filter(State=="Victoria", Sex != "total") |>
  autoplot(Exposure/1000) +
  ylab("Population at 30 June (thousands)")

Completed in e3b439c