wat_get_speed: Calculate instantaenous speed.

Description Usage Arguments Value

View source: R/func_get_speed.r

Description

Calculate instantaenous speed.

Usage

1
wat_get_speed(data, x = "x", y = "y", time = "time")

Arguments

data

A dataframe or similar which must have the columns specified by x, y, and time.

x

The x coordinate.

y

The y coordinate.

time

The timestamp in seconds since the UNIX epoch.

Value

A vector of numerics representing speed. The first position is assigned a speed of NA.


pratikunterwegs/watlasUtils documentation built on Nov. 9, 2021, 12:26 a.m.