nlm_mosaictess: nlm_mosaictess

Description Usage Arguments Details Value References Examples

View source: R/nlm_mosaictess.R

Description

Simulate a neutral landscape model using the tesselation approach introduced in Gaucherel (2008).

Usage

1
nlm_mosaictess(ncol, nrow, resolution = 1, germs, rescale = TRUE)

Arguments

ncol

[numerical(1)]
Number of columns forming the raster.

nrow

[numerical(1)]
Number of rows forming the raster.

resolution

[numerical(1)]
Resolution of the raster.

germs

[numerical(1)]
Intensity parameter (non-negative integer).

rescale

[logical(1)]
If TRUE (default), the values are rescaled between 0-1.

Details

nlm_mosaictess offers the first option of simulating a neutral landscape model described in Gaucherel (2008). It generates a random point pattern (germs) with an independent distribution and uses the Voronoi tessellation to simulate mosaic landscapes.

Value

RasterLayer

References

Gaucherel, C. (2008) Neutral models for polygonal landscapes with linear networks. Ecological Modelling, 219, 39 - 48.

Examples

1
2
3
4
5
6
7
8
# simulate polygonal landscapes
mosaictess <- nlm_mosaictess(ncol = 30, nrow = 60, germs = 200)

## Not run: 
# visualize the NLM
landscapetools::show_landscape(mosaictess)

## End(Not run)

NLMR documentation built on Sept. 20, 2021, 9:07 a.m.