Learn R Programming

MetaLandSim (version 1.0.4)

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)

Arguments

rl

Object of class 'landscape'.

Value

Returns a matrix with the topological distance between the nodes.

See Also

rland.graph

Examples

Run this code
# NOT RUN {
data(rland)

min_distance(rl=rland)

# }

Run the code above in your browser using DataLab