Learn R Programming

MetaLandSim (version 2.0.0)

components.graph: Number of components of a landscape

Description

Returns the number of components in the landscape graph (in this case a component is a group of patches connected by the species dispersal distance).

Usage

components.graph(rl)

Value

Returns the number of components (groups of connected patches) of a landscape.

Arguments

rl

Object of class 'landscape'.

Author

Frederico Mestre and Fernando Canovas

See Also

rland.graph

Examples

Run this code

data(rland)

components.graph(rl=rland)

#21

Run the code above in your browser using DataLab