Learn R Programming

directlabels (version 2021.1.13)

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 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 apply.method.

debug

Show debug output?

Value

The lattice plot.