psp.to.graph: Convert a 'psp' object to a metric graph object

View source: R/psp_to_metricgraph.R

psp.to.graphR Documentation

Convert a psp object to a metric graph object

Description

This function converts a psp object (from the spatstat package) into a metric graph object.

Usage

psp.to.graph(psp.object)

Arguments

psp.object

A psp object to be converted.

Value

A metric graph object with edges defined by the segments in the psp object.


MetricGraph documentation built on April 3, 2025, 10:34 p.m.