View source: R/gpxhelpers-utils.R
distAlongTrack | R Documentation |
Calculates the cumulative distance along the track.
distAlongTrack(
d,
vars = c("Longitude", "Latitude"),
units = c("miles", "km", "m")
)
d |
Data frame that contains the track coordinates. |
vars |
A string vector with the names in |
units |
A string with the desired units for the distances. |
NONE YET
A numeric vector with cumulative distances along the track.
Derek H. Ogle
distGeo
## None yet.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.