prefixes: Get Track Prefixes

Description Usage Arguments Details

View source: R/functions.R

Description

Creates a tracks object consisting of all prefixes (i.e., subtracks starting with the first position of a track) of 'x' with 'i' segments (i.e., 'i'+1 positions).

Usage

1
prefixes(x, i)

Arguments

x

a single track or a tracks object.

i

subtrack length. A single integer, lists are not supported.

Details

This function behaves exactly like subtracks except that only subtracks starting from the first position are considered.


jtextor/MotilityLab documentation built on May 20, 2019, 3:13 a.m.