remove.close {dga} | R Documentation |
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)
ps |
an n x 2 matrix of potential points. |
x |
the x coordinate of the center of the circle. |
y |
the y coordinate of the center of the circle. |
r |
the radius of the circle |
inds |
tells which points are too close to the edge of the circle. |
Kristian Lum kl@hrdag.org
ps <- cbind(runif(100), runif(100))
inds <- dga:::remove.close(ps, .5, .5, .1)