t_speed {psyosphere} | R Documentation |
Speed towards the next coordinate in the track in kmh.
t_speed( tracks, bind = TRUE, drop = TRUE, cname = "speed", t_id = "id" )
tracks |
|
bind |
logical. Return the distance as list ( |
drop |
|
cname |
|
t_id |
character or numeric. Column name in |
For the last coordinate within a track the function returns NA
because there is no speed towards a following coordinate possible.
The speed between the first and the second point is stored with the second point. This is done for higher compatibility with the gap functions.
Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.
t_bearing
,t_distance
, t_time_difference
data(psyo) psyo <- psyosphere::t_speed(psyo)