graphLines2PolyLine: Converts list of mst edges to Polylines shapefile.

Description Usage Arguments Examples

Description

Returns a Polylines shapefile. Allows for easier saving.

Usage

1
graphLines2PolyLine(graph_lines)

Arguments

graph_lines

A list with each entry containing the coordinates of a minimum spanning tree's edge to plot

Examples

1
2
3
4
5
latlon <- getLatLon(c('New York, New York', 'Boston, MA'))
dist_mat <- getDistMat(latlon)
mst <- getMST(dist_mat)
graph_lines <- getGraphLines(mst, latlon)
graphLines2Polyline(graph_lines)

lboxell/geomst documentation built on May 20, 2019, 10:24 p.m.