sort_points | R Documentation |
sort_points
can be useful for creating spatial lines or polygons from
points.
sort_points(df, y = "latitude", x = "longitude", clockwise = TRUE)
df |
Data frame containing y and x points. |
y |
Name of y variable in |
x |
Name of x variable in |
clockwise |
Should the points be arranged in a clockwise direction? If
|
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.