View source: R/func_points_to_line.R
points_to_line | R Documentation |
Converts XY points to a spatial lines object. Copied from https://rpubs.com/walkerke/points_to_line
points_to_line(data, long, lat, id_field = NULL, sort_field = NULL)
data |
dataframe containing XY data |
long |
name of longditude column |
lat |
name of latitude column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.