lines(x, y, ...)
lines
takes the coordinates given in the x
and y
vectors and joins those points with line
segments.
The coordinates can alternatively be passed to lines
in a plotting structure (a list with x and y components),
a time series, etc.
Graphical parameters can also be specified as arguments.