rangeDist: Use Calcuate distance to range edge

Description Usage Arguments

Description

Calculates distance to range boundary and returns a raster object. Range is projected to World Azimuthal Equidistant (centered on range centroid) before buffering. Starting a cluster with beginCluster() can improve processing time if multiple cores are available.

Usage

1
2
rangeDist(range, points, domain, domainkm = 1000, fact = 2, mask = FALSE,
  verbose = TRUE, ...)

Arguments

range

SpatialPolygons* object with species range

points

Optional SpatialPoints* object with species occurrences to be included in defining the domain, but not in the distance calculations.

domain

Empty raster extent or path to geotif representing the potential modelling domain with resolution, projection, etc.

domainkm

Define the distance (in km) from expert range to include in the modeling domain. The range polygon will be buffered by this value and used to define a rectangular region around the range. See mask to additionally mask pixels with distances farther than a specified value.

fact

numeric aggregation factor used to speed up distance calculation (larger numbers faster but less accurate).

mask

logical indicating whether to mask the domain to the range buffered by domainkm. If FALSE (the default), the returned object will have complete data across a rectangular domain. If TRUE, the rectangular domain will be masked by the buffered range.

verbose

logical indicating whether to print status messages.

...

additional functions to be passed to writeRaster


bossMaps documentation built on May 2, 2019, 3:57 p.m.