nCoincident | R Documentation |
Number of Coincident Points
nCoincident(x, y, bins = 400)
x |
numeric vector |
y |
numeric vector |
bins |
number of bins in both directions |
Computes the number of x,y pairs that are likely to be obscured in a regular scatterplot, in the sense of overlapping pairs after binning into bins
x bins
squares where bins
defaults to 400. NA
s are removed first.
integer count
Frank Harrell
nCoincident(c(1:5, 4:5), c(1:5, 4:5)/10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.