SampEn_R {TSEntropies}R Documentation

SampEn_R

Description

This function computes sample entropy of given time series. It is implemented in R.

Usage

SampEn_R(TS, dim = 2, lag = 1, r = 0.2 * sd(TS))

Arguments

TS

- given time series

dim

- dimension of given time series, default value is 2

lag

- downsampling, default value is 1

r

- radius of searched areas, default value is 0.2*sd(TS)

Examples

timser <- rnorm(2000)
SampEn_R(timser)
SampEn_R(timser, r = 0.1*sd(timser))
SampEn_R(timser, dim = 3, r = 0.1*sd(timser))


[Package TSEntropies version 0.9 Index]