Learn R Programming

MetaLandSim (version 2.0.0)

min_distance: 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)

Value

Returns a matrix with the topological distance between the nodes.

Arguments

rl

Object of class 'landscape'.

Author

Frederico Mestre and Fernando Canovas.

See Also

rland.graph

Examples

Run this code

data(rland)

min_distance(rl=rland)

Run the code above in your browser using DataLab