points2flow | R Documentation |
Takes a series of geographical points and converts them into a spatial (linestring) object representing the potential flows, or 'spatial interaction', between every combination of points.
points2flow(p)
p |
A spatial (point) object |
Other od:
od2line()
,
od2odf()
,
od_aggregate_from()
,
od_aggregate_to()
,
od_coords()
,
od_coords2line()
,
od_id
,
od_id_order()
,
od_oneway()
,
od_to_odmatrix()
,
odmatrix_to_od()
,
points2odf()
flow_sf <- points2flow(cents_sf[1:4, ])
plot(flow_sf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.