ggalt icon indicating copy to clipboard operation
ggalt copied to clipboard

better documentation for geom_encircle

Open bbolker opened this issue 5 years ago • 0 comments

I just had a request for the algorithm used by geom_encircle(). This is what I sent; I ought to flesh this out slightly and add it to the docs.

(1) finds the convex hull of the points (2) if desired (based on the 'expand' argument), moves the points defining the convex hull outward away from the centroid (3) constructs an 'xspline' through these points; the details of this (and a literature citation) are given in ?grid::xsplineGrob

bbolker avatar May 03 '19 02:05 bbolker