dist2nf | R Documentation |
dist2nf
computes the distance between the target pine plantation and
all surroundings natural forests patches.
dist2nf(x, nf_value)
x |
A |
nf_value |
The value of "Natural Forests" landscape class within the raster (default value = 2). |
This auxiliary function calculates the distance for each pixel of the target pine plantation to the edges of all surrounding natural forest patches. For each pixel, the final value considered is the minimum of all distances from that pixel to the edges of natural forests.
A raster
object with the minimum distance for each raster pixel
Antonio J Pérez-Luque (ajpelu@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.