sort.tracks: Sort Track Positions by Time

Description Usage Arguments Details Value

Description

Sorts the positions in each track in a tracks object by time.

Usage

1
2
## S3 method for class 'tracks'
sort(x, decreasing = FALSE, ...)

Arguments

x

the tracks object whose tracks are to be sorted by time.

decreasing

logical. Should the sort be increasing or decreasing? Provided only for consistency with the generic sort method. The positions in each track should be sorted in increasing time order.

...

further arguments to be passed on to order.

Details

Sorts the positions of each track (represented as a data frame) in the tracks object by time (given in the column t).

Value

A tracks object that contains the tracks from the input object sorted by time is returned.


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