Description Usage Arguments Value Author(s) Examples
View source: R/calc_En_slidingwindow.R
Calculates entropy using a sliding window approach. Takes the entropy of a smaller time windows then averages them. This is to eliminate any bias that may result from time-series length.
1 | calc_En_slidingwindow(entmeasure = "FastSampEn", ofint, size, step, r_thresh)
|
entmeasure |
chosen entropy measure. Either FastSampEn or FastApEn |
ofint |
A numeric vector representing the value of interest |
size |
size of the sliding window. Numeric |
step |
step size for the window, how "Fast" it slides. Numeric |
r_thresh |
what is the tolerance r to be used. Numeric |
dataframe with the entropy value for each group in varslist
Samuel Hamilton
1 | plotruns(cgms.df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.