psp
R/psp_to_metricgraph.R
psp.to.graph.Rd
This function converts a psp object (from the spatstat package) into a metric graph object.
spatstat
psp.to.graph(psp.object)
A psp object to be converted.
A metric graph object with edges defined by the segments in the psp object.