SamplingRate.summary: Calculate sampling rate for each column over a certain break...

Usage Arguments Value Note

View source: R/SamplingRate.R

Usage

1
SamplingRate.summary(sensorData, breaks = "min")

Arguments

sensorData

input dataframe that matches mhealth specification.

breaks

"sec","min","hour","day","week","month","quarter" or "year"; or preceded by integer and space.

Value

Returned dataframe would have headers: 'HEADER_TIME_STAMP, SAMPLING_RATE'.

Note

If "breaks" is missing, filter will be applied on the whole sequence and return a list with a single dataframe.


qutang/mhealthformat-support-r documentation built on Sept. 3, 2019, 1:19 a.m.