Skip to contents

Visualizes service utilization over time from a cd_service_utilization object.

Usage

# S3 method for class 'cd_service_utilization'
plot(x, plot_type = c("opd", "ipd", "under5", "cfr", "deaths"), region = NULL)

Arguments

x

A cd_service_utilization object created by compute_service_utilization().

plot_type

One of:

  • "opd": OPD visits per person

  • "ipd": IPD admissions per person

  • "under5": Under-5 share of OPD and IPD

  • "cfr": Case fatality rate (under-5 and total)

  • "deaths": Proportion of deaths that are under-5

region

Character description

Value

A ggplot2 plot object.

Examples

if (FALSE) { # \dontrun{
plot(compute_service_utilization(dat), plot_type = "opd")
} # }