Learn R Programming

popEpi (version 0.2.1)

plot.sirspline: Plot method for sirspline-object

Description

Plot SIR splines using R base graphics.

Usage

## S3 method for class 'sirspline':
plot(x, conf.int = TRUE, ylab, xlab, ylim,
  abline = TRUE, log = FALSE, ...)

Arguments

x
an object returned by function sirspline
conf.int
default TRUE draws confidence intervals
ylab
overwrites default y-axis label
xlab
overwrites default x-axis label
ylim
y-axis minimum and maximum values
abline
logical; draws a gray line in SIR = 1
log
if TRUE, the SIR is in log scale
...
arguments passed on to plot()

See Also

sir, sirspline