Learn R Programming

directlabels (version 1.3)

follow.points: follow points

Description

Draws a line between each center and every point, then follows the line out far enough to give a box outside the cloud. Out of all the boxes constructed in this way that do not contain any points, take the one which has the smallest distance to the center. FIXME: does not work with ggplot2 since the ggplot2 backend doesn't yet have support of actually knowing how big the text bounding box is.

Usage

follow.points(d, debug = FALSE, ...)

Arguments

d
debug
...