The original input data is returned as last list entry
simplify
If n_random = 1 and return_input = FALSE only raster will be returned.
verbose
Print progress report.
Value
list
Details
The function randomizes a habitat map (as RasterLayer) as proposed by Harms et al. (2001)
as <U+201C>randomized-habitats procedure<U+201D>. The algorithm starts with an empty habitat map
starts to assign random neighbouring cells to each habitat (in increasing order of
abundance in observed map). We modified the procedure slightly by increasing a
probability to jump to a non-neighbouring cell as the current patch becomes larger.
References
Harms, K. E., Condit, R., Hubbell, S. P., & Foster, R. B. (2001). Habitat associations
of trees and shrubs in a 50-ha neotropical forest plot. Journal of Ecology, 89(6), 947-959.