scatter.thinning | R Documentation |
Remove points from a scatter plot where density is really high
scatter.thinning(x, y, resolution = 100, max.per.cell = 100)
x |
x-coordinates vector |
y |
y-coordinates vector |
resolution |
number of partitions for the x and y-dimensions. |
max.per.cell |
maximum number of points per x-y partition. |
index into the points that omits points from x-y partitions
so that each has at most max.per.cell
points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.