Learn R Programming

gglogo (version 0.1.5)

simplifyPolygon: Douglas-Peucker algorithm adjusted fo polyons

Description

Implementation of the Douglas-Peucker algorithm for line thinning http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm

Usage

simplifyPolygon(points, tol = 1)

Arguments

points

matrix of x and y points

tol

tolerance