tag_outlier_windows: Identify abnormal device rotations

Description Usage Arguments Value

View source: R/utils.R

Description

Identify windows in which the phone may have been rotated or flipped, as indicated by a gravity vector

Usage

1
tag_outlier_windows(gravity, window_length, window_overlap)

Arguments

gravity

A dataframe with gravity vectors for columns

window_length

The number of samples per window.

window_overlap

Fraction in the interval [0, 1) specifying the amount of window overlap during the windowing transformation.

Value

Rotations errors for each window.


Sage-Bionetworks/mhealthtools documentation built on Sept. 20, 2020, 1:42 p.m.