get_resting_periods: Extract resting period characteristics

View source: R/cleaning.R

get_resting_periodsR Documentation

Extract resting period characteristics

Description

Extract resting period characteristics

Usage

get_resting_periods(times, session_threshold)

restingPeriods(times, session_threshold)

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.

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.


trackeR documentation built on May 29, 2024, 5:04 a.m.