shuffCoord: "Shuffle coordinates"

View source: R/shuffCoord.R

calcFracActInColl.defaultR Documentation

"Shuffle coordinates"

Description

Shuffle coordinates

Usage

## Default S3 method:
calcFracActInColl(objFull, objColl)

shuffCoord(obj)

## S3 method for class 'arcosTS'
shuffCoord(obj)

Arguments

obj

an arcosTS object without collective events.

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.

Value

an arcosTS object

Examples

cat("no examples")


dmattek/ARCOS documentation built on Dec. 5, 2024, 11:02 p.m.