cholera (version 0.2.1)

plot.time.series: Plot aggregate time series data from Vestry report.

Description

Plot aggregate fatality data and indicates the date of the removal of the handle of the Broad Street pump.

Usage

# S3 method for time.series
plot(x, statistic = "fatal.attacks",
  pump.handle = TRUE, ...)

Arguments

x

An object of class "time.series" from timeSeries().

statistic

Character. Fatality measure: either "fatal.attacks", which is the default, or "deaths".

pump.handle

Logical. Indicate date of removal of Broad Street pump handle.

...

Additional plotting parameters.

See Also

timeSeries

Examples

Run this code
# NOT RUN {
plot(timeSeries())
plot(timeSeries(), statistic = "deaths")
# }

Run the code above in your browser using DataLab