Commit 38490390 authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

distance_map(): admit a Raster* object giving boundaries and resolution

parent 3a6bca4c
......@@ -6,7 +6,8 @@
#'
#'
#' @param x Spatial* object with relevant spatial features.
#' @param boundaries SpatialPolygon* object with administrative borders.
#' @param boundaries SpatialPolygon* object with administrative
#' borders, or Raster* object from where to pick the resoltion.
#' @param res numeric. Resolution for the outcome distance map. The default divides
#' the smallest dimension into 100 cells.
#'
......
......@@ -10,7 +10,8 @@ distance_map(x, boundaries, res = resolution(boundaries, min_ncells =
\arguments{
\item{x}{Spatial* object with relevant spatial features.}
\item{boundaries}{SpatialPolygon* object with administrative borders.}
\item{boundaries}{SpatialPolygon* object with administrative
borders, or Raster* object from where to pick the resoltion.}
\item{res}{numeric. Resolution for the outcome distance map. The default divides
the smallest dimension into 100 cells.}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment