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.
See also
Other figures:
zhn_km_pairwise(),
zhn_pal,
zhn_plot_diagnoses(),
zhn_plot_km(),
zhn_register_fonts(),
zhn_save_plot(),
zhn_theme()