Extracting the recording duration of a movement tibble can be useful to check the synchronisation of different trackers and devices.

extract_recording_duration(df)

Arguments

df

A movement tibble (must contain a column time)

Value

Scalar duration, i.e. difference between last and first time stamp