Read a annotation file from Compumedics Profusion software in XML format.

read_events_profusion(xml, startTime = as.POSIXlt("1970-01-01 00:00:00"))

Arguments

xml

XML file path.

startTime

Character string or date object of the hypnogram start.

Value

A dataframe of stages and events.