Description Usage Arguments Value
View source: R/fun_simple_distance.R
Gets the euclidean distance between consecutive points in a coordinate reference system in metres, i.e., UTM systems.
1 | atl_simple_dist(data, x = "x", y = "y")
|
data |
A dataframe object of or extending the class data.frame, which must contain two coordinate columns for the X and Y coordinates. |
x |
A column name in a data.frame object that contains the numeric X or longitude coordinate for position data. |
y |
A column name in a data.frame object that contains the numeric Y or latitude coordinate for position data. |
Returns a vector of distances between consecutive points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.