plot_graph: Graphical display of the landscape

plot_graphR Documentation

Graphical display of the landscape

Description

Plots the landscape graph, with or without the species occupation (respectively lists returned by species.graph or rland.graph) and with or without the links between patches.

Usage

plot_graph(rl, species, links)

Arguments

rl

Object of class 'landscape' (species=FALSE) or 'metapopulation' (species=TRUE).

species

TRUE/FALSE, TRUE if 'x' is of class 'metapopulation' or 'FALSE' if x is of class 'landscape'.

links

TRUE/FALSE, show links between connected patches.

Value

Graphical display of the landscape.

Author(s)

Frederico Mestre and Fernando Canovas

See Also

rland.graph, species.graph

Examples


data(rland)
data(occ.landscape)

#Without the species occupancy:
plot_graph(rl=rland, species=FALSE, links=FALSE)

#With the species occupancy:
plot_graph(rl=occ.landscape, species=TRUE, links=FALSE)


MetaLandSim documentation built on Jan. 13, 2023, 1:11 a.m.