The perimeter of the 2D shape is divided by the perimeter of a circle with
the same area as the shape. The more irregular the shape is, the closer the
output value is to zero. The closer the shape is to a circle, the closer
the output value is to 1.
Usage
circularity(data)
Value
A value between 0 (infinitely irregular) and 1 (a perfect circle).
Arguments
data
A data frame with the first two columns x and y coordinates, respectively.