simplifyOutline | R Documentation |
Simplify a outline object by removing vertices bordering short edges while not encroaching on any of the outline. At present, this is done by finding concave vertices. It is safe to remove these, at the expense of increasing the area a bit.
simplifyOutline(P, min.frac.length = 0.001, plot = FALSE)
P |
points to simplify |
min.frac.length |
the minimum length as a fraction of the total length of the outline. |
plot |
whether to display plotting or not during simplification |
Simplified outline
object
David Sterratt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.