TimeSlice: Time Slice

Description Usage Arguments Value

Description

Slice a contiguous temporal interval of kinematic data.

Usage

1
2
3
4
5
6
7
TimeSlice(x, from, to, ...)

## S3 method for class 'data.frame'
TimeSlice(x, from, to, ...)

## S3 method for class 'list'
TimeSlice(x, from, to, ...)

Arguments

x

A data.frame or a list of data.frames that contain kinematic data, structured such that there is a column named Time and other columns that record the channels of Carstens sensors.

from

A numeric, the time from which to slice.

to

A numeric, the time to which to slice.

...

Placeholder for future methods.

Value

An object that has the same class as x. If x is a data.frame, then the returned data.frame is like x, but filtered to just those rows whose value of Time falls within the [from, to] interval. If x is a list, then a list of time-sliced data.frames is returned.


patrickreidy/ag501 documentation built on May 30, 2019, 10:01 p.m.