Learn R Programming

MetaLandSim (version 1.0.4)

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)

Arguments

rl

Object of class 'landscape'.

Value

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

See Also

rland.graph

Examples

Run this code
# NOT RUN {
data(rland)

components.graph(rl=rland)

#21

# }

Run the code above in your browser using DataLab