Generates a plot to visualize health coverage data across subnational units, distinguishing between the national mean and subnational coverage. The Mean Absolute Difference to the Mean (MADM) is displayed as an indicator on the y-axis. Titles, subtitles, and labels dynamically adjust based on the chosen indicator, denominator, and level.
Arguments
- x
A
cd_inequality
object returned bycalculate_inequality()
.- indicator
Character. Indicator to plot
- denominator
Character. The denominator to use
- ...
Additional arguments passed to the plotting function.
Examples
if (FALSE) { # \dontrun{
data <- calculate_inequality(.data, "Kenya", admin_level = "district",
indicator = "measles1", denominator = "penta1")
plot(data)
} # }