splitDiffTime {topdowntimeratio}R Documentation

Split the difference when it comes to difftimes

Description

Averages out time differences between successive locations. This is useful in calculating the time-weighted Radius of Gyration, as it provides a method of using both the first and last locations. This assumes that the location is measured at a given time period and will account for half of the time difference occurring between this location and the one immediately preceding, as well as half the time difference occurring between this location and the one immediately following.

Usage

splitDiffTime(timestamp)

Arguments

timestamp

a duration, period, difftime or interval

Value

the averaged difftime of same length


[Package topdowntimeratio version 0.1.0 Index]