Learn R Programming

plotrix (version 1.41)

count.overplot: 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

See Also

cluster.overplot,sizeplot

Examples

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

Run the code above in your browser using DataLab