extract_graph.Rd
Sometimes we want to put neighboring polygons into one big graph.
extract_graph(geometries, K = 5)
The data.frame containing the polygons and their labels.
The number of nearest neighbors to which each polygon will be linked.