remove.close: A Helper Function to Tell Which Points Are Near the Boundary...

Description Usage Arguments Value Author(s) Examples

View source: R/venn_functions.R

Description

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.

Usage

1
remove.close(ps, x, y, r)

Arguments

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

Value

inds

tells which points are too close to the edge of the circle.

Author(s)

Kristian Lum kl@hrdag.org

Examples

1
2
ps <- cbind(runif(100), runif(100))
inds <- dga:::remove.close(ps, .5, .5, .1)

dga documentation built on May 10, 2021, 5:06 p.m.