mark_time_gaps {psyosphere} | R Documentation |
Mark segments between data gaps
mark_time_gaps( tracks, interval = 0, factor = 3, ctime_difference = "time_difference", bind = TRUE, drop = TRUE, cname = "time_gap", t_id = "id" )
tracks |
|
interval |
|
factor |
|
ctime_difference |
|
bind |
logical. Return the distance as list ( |
drop |
|
cname |
|
t_id |
character or numeric. Column name in |
If you use Psyosphere for commercial use or research, please support us by include one off the following references:
Creative Commons: "Psyosphere" by B. Ziepert, E. G. Ufkes & P. W. de Vries from analyse-gps.com / CC-BY-SA-4.0
APA: de Vries, P. W., et al. (2016). "De psychologie van bewegingen GPS-technologie voor de analyse van natuurlijk gedrag." Tijdschrift voor Human Factors 2: 11-15.
Benjamin Ziepert. Please send feedback to: feedback-psyosphere@analyse-gps.com.
mark_gap_segments
, mark_speed_gaps
, select_gaps
# Get example data data(psyo_rounds2) # clean-up data psyo_rounds2 <- psyosphere::average_duplicates(psyo_rounds2) # Add gap segments psyo_rounds2 <- psyosphere::t_time_difference(psyo_rounds2) psyo_rounds2 <- psyosphere::mark_time_gaps(psyo_rounds2) # Check result psyo_rounds2 <- psyo_rounds2[ which(psyo_rounds2[,"time_gap"]) ,]