restingPeriods: Extract resting period characteristics.
Description
Extract resting period characteristics.
Usage
restingPeriods(times, sessionThreshold)
Arguments
times
Timestamps.
sessionThreshold
The threshold in hours for the time
difference between consecutive timestamps above which they are
considered to belong to different training sessions.
Value
A list containing a dataframe with start, end, and duration
for each session and the resting time between sessions, named
"sessions" and "restingTime", respectively.