SensorData.filter.iir: Apply iir filter to the input sensor data frame each column...

Usage Arguments Value Note

Usage

1
2
SensorData.filter.iir(sensorData, breaks, Fs, Fc, order, type = "high",
  filter = "butter")

Arguments

sensorData

the input dataframe that matches mhealth specification.

breaks

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

Fs

sampling rate of the input signal

Fc

cut off frequencies of butterworth filter, if more than one store as c(low, high)

order

formula order of butterworth filter

type

"low", "high", "stop", "pass"

filter

"butter", "chebyI", "chebyII", "ellip"

Value

list of filtered dataframes.

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.