autoplot.BabsimDailyCases: Visualize new daily cases

View source: R/class-BabsimDailyCases.R

autoplot.BabsimDailyCasesR Documentation

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.


babsim.hospital documentation built on May 30, 2022, 9:05 a.m.