imu_collapse: Collapse raw IMU data to a specified epoch

Description Usage Arguments Value Examples

View source: R/Read_IMU_Utils.R

Description

Collapse raw IMU data to a specified epoch

Usage

1
imu_collapse(AG, block_size, verbose = FALSE)

Arguments

AG

dataframe containing raw IMU data

block_size

number of samples per epoch

verbose

A logical scalar: Print processing updates?

Value

dataframe of IMU data averaged over the specified epoch length

Examples

1
2
3
data(imu_to_collapse)
collapsed <- imu_collapse(imu_to_collapse, 100)
head(collapsed)

AGread documentation built on Feb. 26, 2020, 5:12 p.m.