This function attempts to automatically detect duplicated timestamps in trajectory tables.

findTimeDup(x)

Arguments

x

A trajectory data table as produced by the makeTraj function.

Value

A vector corresponding to the row numbers of the duplicated timestamps in the trajectory data table.

Note

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.

See also

Examples

# TODO