The goal of MSEntropy is to provide a set of optimzed multiscale entropy calculation functions.
You can install the development version directly from GitHub with:
# install.packages("devtools")
devtools::install_github("jcaude/MSEntropy")
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")