Read a stages export from Compumedics software in .txt format.

read_events_compumedics(txt, startTime)

Arguments

txt

txt file path.

startTime

Character string or date object of the hypnogram start.

Value

A dataframe of stages.