get_lines: Get edges within union of balls

Description Usage Arguments Details Value

View source: R/delta-ball.R

Description

Figure out which edges in the delaunay diagram are within the union of balls

Usage

1
get_lines(delaunay_tri_data, data_raw, delta, n_steps = 100)

Arguments

delaunay_tri_data

sp data of delaunay triangles lines (sp::SpatialLines)

data_raw

data frame with center points of balls

delta

fixed radius of all the balls

n_steps

number of equidistance points along the line, past delta on both sides, that will be checked to approximate all points along the line

Details

This function is shared with TCpredictionbands on github: TCpredictionbands.

Value

lines_mat

lines of edges that are kept (each edge has 2 rows and share an index). These edges are within the union of the balls.

removed_mat

lines of edges that should be removed (i.e. are not with the union of balls.)


skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.