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

1 | ```
simplify_rec(points, tol = 0.01)
``` |

`points` |
matrix of x and y points |

`tol` |
tolerance |

gglogo documentation built on May 30, 2017, 3:40 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.