points2odf: Convert a series of points into a dataframe of origins and...

View source: R/od-funs.R

points2odfR Documentation

Convert a series of points into a dataframe of origins and destinations

Description

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

Usage

points2odf(p)

Arguments

p

A spatial points object

See Also

Other od: od2line(), od2odf(), od_aggregate_from(), od_aggregate_to(), od_coords2line(), od_coords(), od_id_order(), od_id, od_oneway(), od_to_odmatrix(), odmatrix_to_od(), points2flow()

Examples

points2odf(cents_sf)

ropensci/stplanr documentation built on March 15, 2024, 4:32 a.m.