scatter.thinning: Remove points from a scatter plot where density is really...

View source: R/plots.r

scatter.thinningR Documentation

Remove points from a scatter plot where density is really high

Description

Remove points from a scatter plot where density is really high

Usage

scatter.thinning(x, y, resolution = 100, max.per.cell = 100)

Arguments

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.

Value

index into the points that omits points from x-y partitions so that each has at most max.per.cell points.


perishky/dmrff documentation built on July 19, 2024, 5:16 a.m.