speed2distance: Convert speed to distance.

View source: R/cleaning.R

speed2distanceR Documentation

Convert speed to distance.

Description

Convert speed to distance.

Usage

speed2distance(speed, time, timeunit, cumulative = TRUE)

Arguments

speed

Speed in meters per second.

time

Time.

timeunit

Time unit in speed, e.g., "hours" for speed in *_per_h.

cumulative

Logical. Should the cumulative distances be returned?

Value

Distance in meters.


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