Learn R Programming

MetaLandSim (version 2.0.0)

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)

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.

Arguments

rl

Object of class 'landscape'.

Author

Frederico Mestre and Fernando Canovas

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