Learn R Programming

MetaLandSim (version 1.0.10)

extract.graph: Extract landscape from span.graph generated list

Description

Extracts a landscape from an object delivered by span.graph. The output is an object of class 'landscape'.

Usage

extract.graph(rl, rlist, nr)

Value

Delivers an object of class 'landscape'.

Arguments

rl

Object of class 'landscape' used to generate the list, with span.graph.

rlist

Object delivered by span.graph.

nr

Position of the landscape in the list (rlist).

Author

Frederico Mestre and Fernando Canovas

See Also

span.graph, rland.graph

Examples

Run this code

data(rland)
data(landscape_change)

#Extracting the landscape of the 50th time step:

rl1 <- extract.graph(rl=rland, rlist=landscape_change, nr=50)

Run the code above in your browser using DataLab