trackeR (version 1.5.2)

get_resting_periods: Extract resting period characteristics

Description

Extract resting period characteristics

Usage

get_resting_periods(times, session_threshold)

restingPeriods(times, session_threshold)

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.

Arguments

times

Timestamps.

session_threshold

The threshold in hours for the time difference between consecutive timestamps above which they are considered to belong to different training sessions.