speed2distance function

Convert speed to distance.

Convert speed to distance.

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?

Returns

Distance in meters.

  • Maintainer: Ioannis Kosmidis
  • License: GPL-3
  • Last published: 2024-01-11