powered by
Used in venn3 to tell which of the potential points to be plotted are near the boundary of the circle defned by x, y, and r.
remove.close(ps, x, y, r)
tells which points are too close to the edge of the circle.
an n x 2 matrix of potential points.
the x coordinate of the center of the circle.
the y coordinate of the center of the circle.
the radius of the circle
Kristian Lum kl@hrdag.org
ps <- cbind(runif(100), runif(100)) inds <- dga:::remove.close(ps, .5, .5, .1)
Run the code above in your browser using DataLab