Description Usage Arguments Value Author(s) Examples
View source: R/feature_extraction_functions.R
A convenience feature extraction function that converts a given time series in to frequency spectrum and computes energy in each 0.5Hz band from 0 to 25 Hz.
1 | frequency_domain_energy(values, sampling_rate = NA)
|
values |
A numeric vector. |
sampling_rate |
Sampling_rate of |
A features data frame of dimension 1 x 48, each representing energy within
a 0.5Hz band. See the
feature definition vignette:
vignette("feature_definitions", package="mhealthtools")
Thanneer Malai Perumal, Phil Snyder
1 2 3 | frequency_energy_features = frequency_domain_energy(
accelerometer_data$x,
sampling_rate = 100.122)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.