JitterPosition {TaxicabCA} | R Documentation |
Moves points that are close together
Description
Moves points that are close together
Usage
JitterPosition(x, y, jitterDefault = 0.01, Near = 0.045)
Arguments
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" |
Details
This function is for internal usage only.
Value
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
Examples
JitterPosition(c(1:5,2,2,4,4,4),c(1:5,2,2,4,4,4))
[Package TaxicabCA version 0.1.1 Index]