getMST: Obtains minimum spanning tree.

Description Usage Arguments Examples

Description

Returns a graph object containing the minimum spanning tree between the points in dist_mat.

Usage

1
getMST(dist_mat)

Arguments

dist_mat

A matrix of distances between points.

Examples

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

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