Analysis of Sleep Data

A toolbox for sleep data processing, visualization and analysis. Tools for state of the art automatic sleep stages scoring.


rsleep: A R package for sleep data analysis

CRAN Downloads License:MIT DOI

rsleep: Open-source, multiplatform R package for advanced sleep data analysis. Features automatic sleep scoring and sophisticated visualization tools.

Installation

Development version can be directly installed from Github :

remotes::install_github("boupetch/rsleep@dev")

Stable version can be downloaded and installed from CRAN:

install.packages("rsleep")

Usage

library(rsleep)

Vignettes

Examples

Plotting a spectrogram

Detecting R peaks in ECG signal

Processing a hypnogram

Plotting a hypnodensity

Detecting spindles

Computing a transition matrix

Citation

@software{paul_bouchequet_2024_10507974,
  author       = {Paul Bouchequet},
  title        = {rsleep},
  doi          = {10.5281/zenodo.7416363},
  url          = {https://doi.org/10.5281/zenodo.7416363}
}

Publications using the rsleep package

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rsleep")

1.0.12 by Paul Bouchequet, 3 years ago


https://rsleep.org/, https://github.com/boupetch/rsleep


Report a bug at https://github.com/boupetch/rsleep/issues


Browse source code at https://github.com/cran/rsleep


Authors: Paul Bouchequet [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports abind, dplyr, edfReader, ggplot2, jsonlite, psd, signal, xml2, readr, xts

Suggests caret, gridExtra, keras, knitr, reshape2, rmarkdown, testthat, RSQLite, DBI, SleepCycles, devtools


See at CRAN