Description Usage Arguments Value Author(s) Examples
View source: R/feature_extraction_functions.R
A convenience feature extraction function that characterises the frequency spectrum of a given time series in to statistical features in the frequency domain.
1 | frequency_domain_summary(values, sampling_rate = NA, npeaks = NA)
|
values |
A numeric vector from a time series measurement. |
sampling_rate |
Sampling_rate of |
npeaks |
Number of peaks to be computed in emprical wavelet transformation (EWT). If NA it uses the default value of 3. |
A features data frame of dimension 1 x 19. See the
feature definition vignette:
vignette("feature_definitions", package="mhealthtools")
Thanneer Malai Perumal, Phil Snyder
1 2 3 4 | frequency_features = frequency_domain_summary(
accelerometer_data$x,
sampling_rate = 100.122,
npeaks = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.