R/bands.R
get_closest.Rd
This is internal code
get_closest( border_points, inner_points, delta, xrange = NULL, yrange = NULL, gridbreaks = 100 )
border_points | data.frame of points from delta ball approach that are "border points" |
---|---|
inner_points | data.frame of points from delta ball approach that are interior points. |
delta | float, size of delta ball radius |
xrange | vector, ordered values to examine in the x dimension (default is NULL - will then be created using gridbreaks) |
yrange | vector, ordered values to examine in the y dimension (default is NULL - will then be created using gridbreaks) |
gridbreaks | int, number of gridpoint in x and y dimensions if xrange or yrange is not provided |
data frame, with expand.grid
of xrange, yrange in columns
x
and y
and a column z
that indicates if it is: (1)
not within delta to border points or inner_points, (2) if closest to
border_points and (3) if closest to an inner_point.