flat_habitat: Create a Flat Habitat

Description Usage Arguments Value

Description

Simulates a random environment, with holes and varying carrying capacity.

Usage

1
2
flat_habitat(diam = 20000, res = 100, value = 1, width = diam,
  height = diam)

Arguments

diam

Diameter of the desired habitat (in real units, not number of cells).

res

Spatial resolution of the Raster.

value

The value(s) to populate the habitat with (will be recycled).

width

Width of the region (default: diam).

height

Height of the region (default: diam).

Value

A RasterLayer with nonnegative and missing values.


petrelharp/landsim documentation built on May 25, 2019, 2:53 a.m.