empty.grid: empty grid

Description Usage Arguments Value Author(s)

Description

Label placement method for scatterplots that ensures labels are placed in different places. A grid is drawn over the whole plot. Each cluster is considered in sequence and assigned to the point on this grid which is closest to the point given by the input data points. Makes use of attr(d,"orig.data").

Usage

1
2

Arguments

d

Data frame of target points on the scatterplot for each label.

debug

Show debugging info on the plot?

...

ignored.

Value

Data frame with columns groups x y, 1 line for each group, giving the positions on the grid closest to each cluster.

Author(s)

Toby Dylan Hocking


directlabels documentation built on Jan. 16, 2021, 5:05 p.m.