View source: R/frequency_domain_functions.R
deriveComparisonValues | R Documentation |
'deriveComparisonValues' derives the dominant frequency and the mean power spectral density from a frequency spectrum
deriveComparisonValues(spectrum, freqBins)
spectrum |
An object of class "spec" |
freqBins |
Vector containing frequency values that define the frequency bins (can be derived using the function 'deriveBins') |
Data.frame consisting of two columns:
domFreq |
The dominant frequency of the signal in each frequency bin, i.e. frequency associated with the maximum value |
meanPSD |
The mean power spectral density of the signal in each frequency bin |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.