calc_En_slidingwindow: Calculates entropy using a sliding window approach. Takes the...

Description Usage Arguments Value Author(s) Examples

View source: R/calc_En_slidingwindow.R

Description

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.

Usage

1
calc_En_slidingwindow(entmeasure = "FastSampEn", ofint, size, step, r_thresh)

Arguments

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

Value

dataframe with the entropy value for each group in varslist

Author(s)

Samuel Hamilton

Examples

1
plotruns(cgms.df)

hamsamilton/cgms.analysis documentation built on March 29, 2020, 12:57 a.m.