min_distance: Computes topological distance

View source: R/min_distance.R

min_distanceR Documentation

Computes topological distance

Description

Function to compute topological distance between patches. Topological distance is defined as the minimum number of links between any two patches.

Usage

min_distance(rl)

Arguments

rl

Object of class 'landscape'.

Value

Returns a matrix with the topological distance between the nodes.

Author(s)

Frederico Mestre and Fernando Canovas.

See Also

rland.graph

Examples


data(rland)

min_distance(rl=rland)


FMestre1/MetaLandSim documentation built on Feb. 4, 2023, 5:46 p.m.