tst90: Compute TST90, the percentage of time during sleep with an...

View source: R/stats.R

tst90R Documentation

Compute TST90, the percentage of time during sleep with an oxygen saturation below 90.

Description

Compute TST90, the percentage of time during sleep with an oxygen saturation below 90.

Usage

tst90(spo2_signal, sRate, startTime, hypnogram)

Arguments

spo2_signal

The SpO2 signal vector.

sRate

The SpO2 signal vector sample rate.

startTime

The SpO2 signal start time.

hypnogram

Events dataframe containing hypnogram.


rsleep documentation built on Nov. 6, 2023, 1:06 a.m.