Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better documentation for geom_encircle #57

Open
bbolker opened this issue May 3, 2019 · 0 comments
Open

better documentation for geom_encircle #57

bbolker opened this issue May 3, 2019 · 0 comments

Comments

@bbolker
Copy link
Contributor

bbolker commented May 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant