Calculates the AHI from respiratory event data and total sleep time.
Arguments
- events
Output of
detect_apneas().- tst_hours
Numeric. Total sleep time in hours.
Calculates the AHI from respiratory event data and total sleep time.
Output of detect_apneas().
Numeric. Total sleep time in hours.