Learn R Programming

directlabels (version 2.0)

direct.label.trellis: direct label trellis

Description

Add direct labels to a grouped lattice plot. This works by parsing the trellis object returned by the high level plot function, and returning it with a new panel function that will plot direct labels using the specified method.

Usage

## S3 method for class 'trellis':
direct.label(p,
method = NULL,
debug = FALSE)

Arguments

p
The lattice plot (result of a call to a high-level lattice function).
method
Method for direct labeling as described in ?label.positions.
debug
Show debug output?

Value

  • The lattice plot.