getGraphLines: Obtains minimum spannign tree edges for plotting.

Description Usage Arguments Examples

Description

Returns a list containing coordinates for plotting each edge of the minimum spanning tree using the greater circle path between the points.

Usage

1
getGraphLines(mst, latlon, N = 40, intermediate = TRUE)

Arguments

mst

A minimum spanning tree graph object.

latlong

The corresponding latlon points for the mst graph.

Examples

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

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