move | R Documentation |
move()
calculates the speed and azimuth (bearing) of consecutive
coordinates.
move(df, dt_field = NULL, jitter_coords = FALSE)
df |
a data frame containing latitude ( |
dt_field |
character; name of datetime field. |
jitter_coords |
logical; if TRUE, coordinates are jittered by a negligible amount (~1 cm). Jittering is recommended if the input data frame contains sequentially duplicated coordinates. Eliminating repeated coordinates is necessary to optimize the circleclust() algorithm. |
a data frame with columns for speed (m/s) and azimuth (degrees).
## Not run:
move_move(df, dt_field = "Date_Time")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.