DouglasPeucker | R Documentation |
Ramer-Douglas-Peucker algorithm for curve fitting with a PolyLine
DouglasPeucker(points, epsilon)
points |
a 2D matrix with the coordinates of 2D points |
epsilon |
an number between 0 and 1. Recomended 0.01. |
A matrix with the points of segments of a Poly Line.
data2hist
function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.