isOverlapping: Check if two regions overlap

Description Usage Arguments Details Value Author(s)

View source: R/ref_helpers.R

Description

Check if two regions overlap.

Usage

1
isOverlapping(region1, region2)

Arguments

region1

A vector of row & column indices or an excel reference string for a single cell or a region.

region2

A vector of row & column indices or an excel reference string for a region.

Details

Each region argument can be either a numeric vector or matrix of row & column indices (as returned by aref2idx or getReferenceCoordinatesForName) or an excel reference string (as returned by idx2aref). Also the first argument (region1) may refer to a single cell instead of a region (i.e. it may be a vector of length 2).

Value

TRUE if region1 overlaps region2

Author(s)

Ben Veal


vapniks/XLConnectXtra documentation built on May 3, 2019, 4:33 p.m.