View source: R/aqp-label-placement-solvers.R
findOverlap | R Documentation |
Establish which elements within a vector of horizontal positions overlap beyond a given threshold
Desc.
findOverlap(x, thresh)
overlapMetrics(x, thresh)
x |
vector of relative horizontal positions, one for each profile |
thresh |
threshold defining "overlap", typically < 1 @return a
|
unique index to affected (overlapping) elements in x
x <- c(1, 2, 3, 3.4, 3.5, 5, 6, 10)
findOverlap(x, thresh = 0.5)
x <- c(1, 2, 3, 3.4, 3.5, 5, 6, 10)
overlapMetrics(x, thresh = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.