R/extract_movement_functions.R
extract_timestamp_duplicates.RdExtracts the number of duplicated time stamps in a summarised movement
trajectory between a min_time and max_time. Use summarise_movement().
Duplicated timestamps indicate an aborted trial - not tracker error.
A summarised movement data frame (must contain a column n)
Minimum time within the ref_movement (taken from "time"
column) to search.
Maximum time within the ref_movement (taken from "time"
column) to search.
whether to extract maximum number of duplicates (max, default),
total number of duplicates (total), or the number of duplicated time stamps
(number)
Numeric, depending on method
Returns the number of duplicated time stamps, total number of duplicates, or maximum number of duplicates.