Landscape: Landscape generators

Description Usage Arguments Examples

Description

This function generates a landscape object, which represent a fragmented environment in which the simulations will run.

Usage

1
2
3
4
5
6
7
8
Landscape(numb.cells = 100, type = c("random", "blob", "fahrig", "disc"),
  bound.condition = c("absorptive", "periodical", "reflexive"), cover = 1,
  frag = NULL)

## S3 method for class 'landscape'
plot(x, col1 = "darkgreen", col2 = "grey70", ...)

total.N(landscape)

Arguments

numb.cells

integer. Represents both the lenght AND width of the landscape, so numb.cells=100 creates a 100x100 landscape

type

character. Currently, three types of habitat fragmentation routines are implemented: random fragmentation (noise), contiguous blob removal (random walk removal) and Fahrig fragmentation. Also, you can specify "disc" to create a landscape that is close to a circular disc; in this case, the disc is fully made of habitat and the parameter cover is ignored.

bound.condition

character. Control what is the boundary condition. This parameter have no effect on the actual landscape generated, but will be passed to the simulation.

cover

numerical, between 0 and 1. What fraction of the landscape should consist on habitat?

frag

fragmentation parameter for the Fahrig method. Is ignored for other types. Higher values are close to random noise, while lower values result in more realistic landshapes.

x

a landscape object

col1

habitat color

col2

non-habitat color

landscape

a landscape object

...

further arguments for plotting functions

Examples

1
plot(Landscape(cover=0.7, type="f", frag=0.01))

andrechalom/TWoLifR documentation built on May 12, 2019, 3:34 a.m.