Skip to content

Commit 7a2ae26

Browse files
Fix docs and spellings
1 parent 7dbdda8 commit 7a2ae26

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎R/fn_plotting_impact.R‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' countries.
1111
#'
1212
#' @param burden_type Burden metric used to evaluate impact; may be one of:
13-
#' `"cases", "deaths", "dalys", "s"`.
13+
#' `"cases", "deaths", "dalys", "yll"`.
1414
#'
1515
#' @param view A string for the way impact is assigned, either by birth
1616
#' cohort ("cohort") or by year of vaccination ("year").
@@ -94,7 +94,6 @@ plot_impact <- function(
9494
ggplot2::geom_ribbon(alpha = 0.3) +
9595
ggplot2::geom_line(aes(colour = .data$short_name), linewidth = 0.5) +
9696
ggplot2::geom_point(aes(colour = .data$short_name), size = 0.5) +
97-
# TODO: theme definition may not be right for this plot
9897
theme_vimc() +
9998
facet_wrap(ggplot2::vars("country"), scales = "free_y") +
10099
labs(
@@ -249,7 +248,7 @@ plot_coverage_fvps <- function(fvps, country = PINE) {
249248
)
250249
) +
251250
geom_point(aes(colour = .data$vaccine_delivery), size = 0.5) +
252-
theme_vimc() + # TODO: same note above on theme
251+
theme_vimc() +
253252
facet_wrap(
254253
ggplot2::vars("country"),
255254
scales = "free_y"

‎man/plot_impact.Rd‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)