lines.sirspline: lines method for sirspline-object
Description
Plot SIR spline lines wtih R base graphicsUsage
## S3 method for class 'sirspline':
lines(x, conf.int = TRUE, print.levels = NA,
select.spline, ...)
Arguments
x
an object returned by function sirspline
conf.int
logical; default TRUE draws also the 95 confidence intervals
print.levels
name(s) to be plottet. Default plots all levels.
select.spline
select which spline variable (a number or a name) is plotted.
...
arguments passed on to lines()
Details
In lines.sirspline most of graphical parameters is user
adjustable.
Desired spline variable can be selected with select.spline and only one
can be plotted at a time. The spline variable can include
several levels, e.g. gender (these are the levels of print
from sirspline). All levels are printed by default, but a
specific level can be selected using argument
print.levels. Printing the levels seperately enables e.g. to
give different colours for each level.