Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/t_time_difference.R
This functions generates a column with the time difference to the next coordinate. This is important since the GPS variables seldom have the same time difference and means and standard deviations should be weighted. The generated column can be used as "weight" variable.
1 2 3 4 | t_time_difference(
tracks, units = "secs", bind = TRUE, drop = TRUE, cname = "time_difference",
t_id = "id"
)
|
tracks |
|
units |
|
bind |
logical. Return the distance as list ( |
drop |
|
cname |
|
t_id |
character or numeric. Column name in |
psyo
The time difference 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.
difftime
, t_bearing
,t_distance
, t_speed
1 2 3 4 5 | ## Not run:
data(psyo)
t_time_difference(psyo, units = "secs")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.