Description Usage Arguments Value
For a line which is represented by a two dimensional matrix with x and y 
coordinate columns, this function returns a vector of distances from each
point to the next point.  The vector is of length nrow(x) - 1.
| 1 | p2pDistance(x, y)
 | 
| x | a two column matrix | 
a vector of distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.