View source: R/z_path.R
Path length
pathLength(xy, lonlat = FALSE)
xy
[matrix] Each column corresponding to a coordinate
matrix
lonlat
[logical(1)] If TRUE computes geodistance. Otherwise Euclidean distance.
logical(1)
TRUE
Path length.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.