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)


MetaLandSim documentation built on Jan. 13, 2023, 1:11 a.m.