Simulates a distance-gradient neutral landscape model.
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.- origin
[
numerical(4)]
Rectangular origin as 1-based cell indices:c(first_column, last_column, first_row, last_row).- rescale
[
logical(1)]
IfTRUE(default), the values are rescaled between 0-1. Otherwise, the distance in raster units is calculated.
Details
origin uses inclusive, 1-based cell indices; rows are numbered from
top to bottom. Cells inside the selected rectangle have distance zero. With
rescale = FALSE, distances are multiplied by resolution.
