Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.12 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.12 KB

MSEntropy

Lifecycle: experimental

The goal of MSEntropy is to provide a set of optimzed multiscale entropy calculation functions.

Installation

You can install the development version directly from GitHub with:

# install.packages("devtools")
devtools::install_github("jcaude/MSEntropy")

Example

The MSEntropy package comes with some sample datasets:

library(MSEntropy)
#> Loading required package: tuneR
#> Loading required package: parallelMap

## basic example code
data("EG_181117")
plot(EG_181117,type='l',xlab="Time (s)", ylab="EEG",main="EG_181117")

You can than compute the Multiscale Dispersion Entropy (MDE) using:

plot(MDE(EG_181117,scales = 1:50),type='b',xlab="Scale",ylab="MDE",main="EG_181117")