Learn R Programming

popEpi (version 0.4.9)

plot.rate: plot method for rate object

Description

Plot rate estimates with confidence intervals lines using R base graphics

Usage

# S3 method for rate
plot(x, conf.int = TRUE, eps = 0.2, left.margin, xlim, ...)

Arguments

x

a rate object (see rate)

conf.int

logical; default TRUE draws the confidence intervals

eps

is the height of the ending of the error bars

left.margin

set a custom left margin for long variable names. Function tries to do it by default.

xlim

change the x-axis location

...

arguments passed on to graphical functions points and segment (e.g. col, lwd, pch and cex)

Value

Always returns `NULL` invisibly. This function is called for its side effects.

Details

This is limited explanatory tool but most graphical parameters are user adjustable.