normalizeToDuration: Normalize a Measure to Track Duration

Description Usage Arguments Value Examples

Description

Returns a measure that divides the input measure by the duration of its input track.

Usage

1

Arguments

x

a track measure (see TrackMeasures).

Value

A function that computes the input measure for a given track and returns the result divided by the track's duration.

Examples

1
2
3
## normalizeToDuration(displacement) can be used as an indicator 
## for the motion's efficiency
sapply(TCells, normalizeToDuration(displacement))

MotilityLab documentation built on May 2, 2019, 8:31 a.m.