frames.time: Find the time and position of a data element.

frames.timeR Documentation

Find the time and position of a data element.

Description

Finds the time and position of a data element.

Usage

frames.time(dataset, datanum)

Arguments

dataset

A dataset returned by track or frames.

datanum

An integer, an index into the data component of dataset.

Details

The dataset returned from track or frames consists of a matrix of data (the data component) and two index components (index and ftime). The data for all segments is concatenated together in $data. This function can be used to find out which segment a particular row of $data corresponds to.

Value

The segment number which contains the element datanum of dataset$data.

See Also

track, frames


emuR documentation built on Nov. 4, 2023, 1:06 a.m.