Skip to contents

Figure: cases per treatment year (vertical bar)

Usage

zhn_plot_cases_by_year(
  data,
  year_col = "behandlungsjahr",
  transparent = FALSE,
  xlab = "Jahr",
  ylab = "Anzahl"
)

Arguments

data

A data frame with a treatment-year column.

year_col

Name of the year column.

transparent

Passed to zhn_theme().

xlab, ylab

Axis labels.

Value

A ggplot2::ggplot object.