Learn R Programming

MetaLandSim (version 0.2)

edge.graph: Produce an edge (links) data frame

Description

Returns a data frame with the information on the connections between patches (assuming binary connections).

Usage

edge.graph(rl)

Arguments

rl
Object of class 'landscape'.

Value

  • Produces a data frame with the information on the edges (links): the IDs of both patches, the area, the coordinates and the Euclidean distance.

See Also

rland.graph

Examples

Run this code
data(rland)

edge_df <- edge.graph(rl=rland)

Run the code above in your browser using DataLab