DouglasPeucker: Ramer-Douglas-Peucker algorithm for curve fitting with a...

View source: R/Utility.R

DouglasPeuckerR Documentation

Ramer-Douglas-Peucker algorithm for curve fitting with a PolyLine

Description

Ramer-Douglas-Peucker algorithm for curve fitting with a PolyLine

Usage

DouglasPeucker(points, epsilon)

Arguments

points

a 2D matrix with the coordinates of 2D points

epsilon

an number between 0 and 1. Recomended 0.01.

Value

A matrix with the points of segments of a Poly Line.

See Also

data2hist function


HistDAWass documentation built on Sept. 26, 2022, 5:06 p.m.