Description Usage Arguments Value Author(s) Examples
View source: R/venn_functions.R
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.
1 | 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
1 2 | ps <- cbind(runif(100), runif(100))
inds <- dga:::remove.close(ps, .5, .5, .1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.