This method calculates the energy density of any kind of object, which can be interpreted as time series data.
1 2 | energyDensity(ts, window.width = 10, stepsize = 5, normalize = 1,
window.function = signal::hanning, ...)
|
ts |
The object that contains the time series data |
window.width |
The windowing width that is used to estimate the density (in ms). The time series data is chopped into windows of this length, and the energy density is calculated for each of these windows seperately. Defaults to 10ms. |
stepsize |
The stepsize to be used for windowing. Windows are advanced this many ms for each calculation. Can be used to create overlapping windows. Defaults to 5ms. |
normalize |
Normalization level for energy density values. Maximum energy density will be set to this level to simplify comparison between data files. Set to 0 to deactivate normalization. Defaults to 0.9. Maximum normalization to 1. |
window.function |
The windowing function to be used. This argument can be used to give
different weigth to different samples within the window. Several usable windowing functions
are defined in the signal package. Defaults to |
... |
Further object specific arguments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.