Rdocumentation
powered by
Learn R Programming
ggrepel (version 0.4)
centroid: Get the coordinates of the center of a box.
Description
Get the coordinates of the center of a box.
Usage
centroid(b)
Arguments
b
A numeric vector representing a box like
c(x1, y1, x2, y2)