Open brookslogan opened 11 months ago
cowplot::plot_grid(
mi_latest %>%
ggplot(aes(time_value, value)) %>%
`+`(geom_line()),
mi_latest %>%
as_epi_df() %>%
mutate(gr = growth_rate(time_value, value)) %>%
ggplot(aes(time_value, gr)) %>%
`+`(geom_line()),
ncol = 1L,
align = "v"
)
#> Warning messages:
#> 1: Removed 156 rows containing missing values (`geom_line()`).
#> 2: Removed 230 rows containing missing values (`geom_line()`).
Created on 2023-12-13 with reprex v2.0.2