Learn R Programming

babsim.hospital (version 11.8.8)

autoplot.BabsimDailyCases: Visualize new daily cases

Description

Visualize new daily cases

Usage

autoplot.BabsimDailyCases(
  object,
  xlab = "Date",
  ylab = "Cases",
  clab = "Age",
  droplevels = TRUE,
  drop.NA = TRUE,
  ...
)

Arguments

object

[BabsimCases] new daily cases.

xlab

[character(1)] a label for the x axis.

ylab

[character(1)] a label for the y axis.

clab

[character(1)] a label for the fill legend.

droplevels

[logical(1)] drop unused levels from ‘ageGroup’ and ‘sex’ before plotting.

drop.NA

[logical(1)] drop rows with missing or ‘NA’ values before plotting.

...

[] additional arguments. Ignored.