Convert a series of points into geographical flows

Share:

Description

Takes a series of geographical points and converts them into a SpatialLinesDataFrame representing the potential flows, or 'spatial interaction', between every combination of points.

Usage

1
points2flow(p)

Arguments

p

SpatialPointsDataFrame

Examples

1
2
3
4
data(cents)
plot(cents)
flow <-points2flow(cents)
plot(flow, add = TRUE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.