empty.grid | R Documentation |
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").
empty.grid(d, debug = FALSE,
...)
d |
Data frame of target points on the scatterplot for each label. |
debug |
Show debugging info on the plot? |
... |
ignored. |
Data frame with columns groups x y, 1 line for each group, giving the positions on the grid closest to each cluster.
Toby Dylan Hocking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.