This function attempts to automatically detect duplicated timestamps in trajectory tables.
A trajectory data table as produced by the
A vector corresponding to the row numbers of the duplicated timestamps in the trajectory data table.
If a timestamps is missing where the duplicated timestamp is, this function will replace the duplicated timestamp with the missing one. Otherwise, the duplicated timestamp will be replaced by NA.