Shortes distance from a point o a 2d segment
coordinates of a point
a 2x2 matrix with the coordinates of two points defining a line
A numeric value, the Euclidean distance of point p to the line.
data2hist function and DouglasPeucker function
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.