Skip to contents

Converts event durations and pauses before and after events to the requested time unit. The time unit will be stored in the attribute “tUnit” of the returned data frame.

Usage

hsEventsToUnit(evts, tUnit)

Arguments

evts

data frame representing events as provided by hsEvents

tUnit

time unit to which durations and pauses shall be converted.

Value

data frame containing events with durations (and pauses) given in the new time unit.