lines.dtrace {dtrace}R Documentation

Draw a Density Trace Object

Description

This function adds lines to a plot as appropriate for objects of class dtrace, such as those created by dtrace.

Usage

## S3 method for class 'dtrace':
lines(x,
  col = NULL, lty = 1:length(x$density), lwd = NULL)

Arguments

x An object of class dtrace.
col Colors for the lines.
lty Line textures (recycled if required).
lwd Line widths (recycled if required).

Details

This function adds a line to a plot for each element of a density trace object. By default, different line textures are used to distinguish the densities but it is also possible to vary colors and line thicknesses.

Author(s)

Ross Ihaka

See Also

dtrace.


[Package dtrace version 0.1 Index]