dist2nf: Distance to Natural forests

Description Usage Arguments Value Author(s)

View source: R/dist2nf.R View source: R/olds/dist2nf.R

Description

Compute the distance between each pixel and the edges of all natural forests. Then get the minimun distance for each pixel.

Usage

1
dist2nf(r, nf_value)

Arguments

r

A raster object

nf_value

The value of "Natural Forests" class within the raster (Default value = 2)

Value

A raster object with the minimun distance for each raster cell

Author(s)

Antonio J Perez-Luque


ajpelu/respine documentation built on May 14, 2019, 8:19 a.m.