tidy_sensor_data: Gather the axial columns

Description Usage Arguments Value

View source: R/utils.R

Description

Gather x, y, and z columns into a single axis column and normalize the t column to begin at t = 0.

Usage

1
tidy_sensor_data(sensor_data)

Arguments

sensor_data

A data frame with a time column t, and at least one additional axial column.

Value

Sensor data in tidy format.


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