Learn R Programming

wrMisc (version 1.15.3.1)

.findBorderOverlaps: 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)

Value

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

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

See Also

Examples

Run this code
aa <- 11:15

Run the code above in your browser using DataLab