Description Usage Arguments Details Value Examples
View source: R/JitterPosition.R
Moves points that are close together
1 | JitterPosition(x, y, jitterDefault = 0.01, Near = 0.045)
|
x |
The x-coordinates of the points |
y |
The y-coordinates of the points |
jitterDefault |
A positive number controlling the maximum jitter |
Near |
A positive number controlling the definition of "near" |
This function is for internal usage only.
A list giving the new x and y coordinates, and, for each point, its number neighbours and a suggested relative size for the plotting symbol
1 | JitterPosition(c(1:5,2,2,4,4,4),c(1:5,2,2,4,4,4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.