Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

findOverlap

Find Overlap within a Sequence


Description

Establish which elements within a vector of horizontal positions overlap beyond a given threshold

Usage

findOverlap(x, thresh)

Arguments

x

vector of relative horizontal positions, one for each profile

thresh

threshold defining "overlap", typically < 1

Value

unique index to affected (overlapping) elements in x

Examples

x <- c(1, 2, 3, 3.4, 3.5, 5, 6, 10)

findOverlap(x, thresh = 0.5)

aqp

Algorithms for Quantitative Pedology

v1.29
GPL (>= 3)
Authors
Dylan Beaudette [aut, cre], Pierre Roudier [aut, ctb], Andrew Brown [aut, ctb]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.