Shuffle coordinates

# S3 method for default
calcFracActInColl(objFull, objColl)

shuffCoord(obj)

# S3 method for arcosTS
shuffCoord(obj)

Arguments

obj

an arcosTS object without collective events.

Value

an arcosTS object

Details

Shuffle spatial coordinates of all tracks in the dataset. Time points and the measurement remain intact.

First, initial positions of all tracks are shuffled between the objects. Then, original displacements are used to calculate new coordinates with respect to the new origin. This approach of coordinate shuffling is useful for bootstrapping of data where objects don't change spatial coordinates over time. Otherwise, the trajectories with new initial spatial coordinates go outside of the FOV over time.

Examples

cat("no examples")
#> no examples