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