This function attempts to automatically detect missing data (for
instance due to writing errors) in track
tables.
Arguments
- x
- begin
A full time stamp (date+time) in
POSIXct
format corresponding to the time from which the missing data should be looked for. If not set, the first time stamp of the track table will be used.- end
A full time stamp (date+time) in
POSIXct
format corresponding to the time until which the missing data should be looked for. If not set, the last time stamp of the track table will be used.- step
A
difftime
object representing the expected time between two consecutive locations of the trajectory. If not set, it is set to the most common time difference between successive locations inx
.
Value
A track table of all observations with missing data. The missing data
is indicated with NA
.
Author
Simon Garnier, garnier@njit.edu