trackDistance {trip} | R Documentation |
Calculate the distance between subsequent 2-D coordinates.
trackDistance(track, longlat = FALSE, push = 1)
track |
matrix of 2-columns, with x/y coordinates |
longlat |
logical - are the data longlat? |
push |
an offset for measuring distance between this and the next (push) location |
This uses the (fast) spDistsN1
.
Vector of distances between coordinates.
....
~~further notes~~
~Make other sections like Warning with section{Warning }{....} ~
~~who you are~~
~put references to the literature/web site here ~
spDistsN1
for the underlying code