.findBorderOverlaps {wrMisc}R Documentation

Find overlap instances among range of values in lines

Description

This function aims to find overlap instances among range of values in lines of 'x' (typically give just min & max)

Usage

.findBorderOverlaps(x, rmRedund = FALSE, callFrom = NULL)

Arguments

x

(matrix of numeric values or all-numeric data.frame) main input

rmRedund

(logical) report overlaps only in 1st instance (will show up twice otherwise)

callFrom

(character) allow easier tracking of message(s) produced

Value

This function returns a matrix with line for each overlap found, cols 'refLi' (line no), 'targLi' (line no), 'targCol' (col no)

See Also

nchar

Examples

aa <- 11:15

[Package wrMisc version 1.15.1 Index]