Learn R Programming

EpiLPS (version 1.3.0)

plot.nowcasted: Plot of nowcasted cases and delay distribution

Description

This routine plots the reported cases, the nowcasted cases and associated \(95\%\) credible interval for the nowcast. In addition, it can be used to show the contour plot of the estimated delay distribution.

Usage

# S3 method for nowcasted
plot(x, type = c("cases", "delay"), ...)

Value

A plot of the reported and nowcasted cases.

Arguments

x

An object of class nowcasted.

type

Either "cases" (default) to show the nowcasted cases or "delay" to show the contour plot of the estimated delay distribution.

...

Further arguments to be passed to plot.

Author

Bryan Sumalinab (writing) and Oswaldo Gressani (editing).