The function computes Euclidean distances along the path, in an arbitrary number of dimensions, though usually 1, 2, or 3, and divides by the corresponding differences in time. Missing values are allowed in either coordinates or time, but will propagate into the computed speeds, in the sense that the speed is NA
if any of the coordinates or times at either end of the interval are missing.