Learn R Programming

ggrepel (version 0.4)

overlaps: Test if a box overlaps another box.

Description

Test if a box overlaps another box.

Usage

overlaps(a, b)

Arguments

a
A numeric vector representing a box like c(x1, y1, x2, y2)
b
A numeric vector representing a box like c(x1, y1, x2, y2)