Description Usage Arguments Value Author(s)
View source: R/dist2nf.R View source: R/olds/dist2nf.R
Compute the distance between each pixel and the edges of all natural forests. Then get the minimun distance for each pixel.
1 | dist2nf(r, nf_value)
|
r |
A |
nf_value |
The value of "Natural Forests" class within the raster (Default value = 2) |
A raster
object with the minimun distance for each raster cell
Antonio J Perez-Luque
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.