Skip to contents

Creates a line plot showing the reduction in a specified burden of disease over time.

Usage

burden_disease(
  burden,
  data_weighted_burden_wide_collapse,
  scale_y_continuous_limits = NULL,
  scale_y_continuous_breaks = ggplot2::waiver(),
  scale_y_continuous_labels = ggplot2::waiver()
)

Arguments

burden

A character string specifying the burden of disease to plot. Options are: "daly", "dalycum", "yld", "yll".

data_weighted_burden_wide_collapse

A data frame with differences between intervention and baseline values for burden of disease.

scale_y_continuous_limits

A numeric vector specifying the limits of the scales for continuous y aesthetics.

scale_y_continuous_breaks

A numeric vector specifying the breaks of the scales for continuous y aesthetics.

scale_y_continuous_labels

A numeric vector specifying the labels of the scales for continuous y aesthetics.

Value

A ggplot object representing the specified plot.