Description Usage Arguments Value Author(s) Examples
View source: R/venn_functions.R
A helper function.
1 | remove.close.ellipse(ps, x, y, a, b, alpha)
|
ps |
an n x 2 matrix of potential points. |
x |
the x coordinate of the center of the ellipse. |
y |
the y coordinate of the center of the ellipse. |
a |
the x-radius of the ellipse. |
b |
the y-radius of the ellipse. |
alpha |
the angle of rotation of the ellipse. |
inds |
a vector of length nrow(ps) that tells whether each row of ps is near the border of the ellipse defined by x,y,a,b, and alpha. |
Kristian Lum kl@hrdag.org
1 2 3 | ## The function is currently defined as
ps <- cbind(runif(100), runif(100))
inds <- dga:::remove.close.ellipse(ps, .5, .5, .1, .3, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.