resp_stats: Get Apnea and Hypopnea events related stats in a named...

Description Usage Arguments Value

Description

Get Apnea and Hypopnea events related stats in a named vector.

Usage

1
2
resp_stats(e, ss = c("N1", "N2", "N3", "REM"), l = c("A. Obstructive",
  paste0("Hypopn", "é", "e")))

Arguments

e

Events dataframe. Dataframe must have begin (POSIXt), end (POSIXt) and event (character) columns.

ss

sleep labels.

l

label.

Value

A named vector.


boupetch/rmdf documentation built on June 26, 2019, 2:25 p.m.