hsEventsToUnit: Time unit conversion for events

View source: R/eventMain.R

hsEventsToUnitR Documentation

Time unit conversion for events

Description

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.


KWB-R/kwb.event documentation built on June 14, 2022, 1:15 p.m.