JitterPosition: Moves points that are close together

Description Usage Arguments Details Value Examples

View source: R/JitterPosition.R

Description

Moves points that are close together

Usage

1
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

1
JitterPosition(c(1:5,2,2,4,4,4),c(1:5,2,2,4,4,4))

TaxicabCA documentation built on Dec. 11, 2019, 5:07 p.m.