Description Usage Arguments Value
View source: R/fun_get_speed.R
Calculate instantaenous speed.
1 | atl_get_speed(data, x = "x", y = "y", time = "time", type = c("in"))
|
data |
A dataframe or similar which must have the columns
specified by |
x |
The x coordinate. |
y |
The y coordinate. |
time |
The timestamp in seconds since the UNIX epoch. |
type |
The type of speed (incoming or outgoing) to return.
Incoming speeds are specified by |
A vector of numerics representing speed. The first position is assigned a speed of NA.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.