knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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) ## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.