Skip to content

Commit

Permalink
Fixing lintr indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmenTamayo committed Feb 23, 2024
1 parent 7d4899e commit 85c2c23
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ res_epiestim_group <- dat_i_day %>%
mutate(
res_epiestim = map(data, ~ wrap_res(
estimate_R(.x$count, config = ee_config),
dat_i_day)
)
dat_i_day
))
) %>%
unnest(res_epiestim) %>%
dplyr::select(-data)
Expand All @@ -151,18 +151,18 @@ ggplot(res_epiestim_group, aes(x = end)) +
res_epiestim_group %>%
filter(end == max(end)) %>%
ggplot(aes(y = .data[[group_var]]), fill = custom_grey) +
geom_point(aes(x = median), color = dark_green) +
geom_errorbar(aes(xmin = lower, xmax = upper), color = dark_green) +
geom_vline(xintercept = 1, color = dark_pink) +
labs(
title = "Latest estimates of Rt",
subtitle = sprintf(
"As of %s",
format(max(get_dates(dat_i_day)), "%d %B %Y")
),
y = "",
x = "Instantaneous Reproduction Number (Rt)"
)
geom_point(aes(x = median), color = dark_green) +
geom_errorbar(aes(xmin = lower, xmax = upper), color = dark_green) +
geom_vline(xintercept = 1, color = dark_pink) +
labs(
title = "Latest estimates of Rt",
subtitle = sprintf(
"As of %s",
format(max(get_dates(dat_i_day)), "%d %B %Y")
),
y = "",
x = "Instantaneous Reproduction Number (Rt)"
)
```

```{r rt-table-group}
Expand Down

0 comments on commit 85c2c23

Please sign in to comment.