count.overplot {plotrix}R Documentation

Show overlying points as counts

Description

count.overplot checks for overlying points defined as points separated by a maximum of tol, a two element numeric vector of the x and y tolerance. This defaults to 1/1000 of the plot range.

Usage

 count.overplot(x,y,tol=NULL,...)

Arguments

x,y Two numeric data vectors or the first two columns of a matrix or data frame. Typically the x/y coordinates of points to be plotted.
tol The largest distance between points that will be considered to be overlying.
... additional arguments passed to plot.

Value

nil

Author(s)

Jim Lemon

See Also

cluster.overplot,sizeplot

Examples

 xy.mat<-cbind(sample(1:10,200,TRUE),sample(1:10,200,TRUE))
 count.overplot(xy.mat)

[Package plotrix version 1.41 Index]