session_duration: Generic function for calculating session durations

View source: R/trackeR.R

session_durationR Documentation

Generic function for calculating session durations

Description

Generic function for calculating session durations

Usage

session_duration(object, session, duration_unit, ...)

## S3 method for class 'trackeRdata'
session_duration(object, session = NULL, duration_unit = "h", ...)

## S3 method for class 'trackeRdataSummary'
session_duration(object, session = NULL, ...)

Arguments

object

The object for which to calculate session durations.

session

The sessions for which to extract sports.

duration_unit

The unit of duration.

...

Arguments to be passed to methods.

Details

The times units will be inherited from object.


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