label.positions {latticedl}R Documentation

label positions

Description

Calculates table of positions of each label. This can be thought of as a lattice panel function. It takes the same sort of arguments but does not draw anything. Instead it is called for its return value.

Usage

label.positions(x, y, subscripts, groups, debug = FALSE, method = perpendicular.lines, ...)

Arguments

x x values of points to draw.
y y values of points to draw.
subscripts subscripts of groups to consider.
groups vector of groups.
debug logical indicating whether debug annotations should be added to the plot.
method function used to choose position of labels.
... passed to positioning method

Value

Data frame describing where direct labels should be positioned.

Author(s)

Toby Dylan Hocking <toby.hocking@inria.fr>


[Package latticedl version 1.0 Index]