get_distance_surface: Calculate distance surface

Description Usage Arguments Value Examples

Description

Take species range and raster mask, and create distance surface that will encompass same realm and continent that species itself occupies (absence creation regions). This function will call SAGA GIS from the terminal, so SAGA has to be installed, and able to

Usage

1
2
get_distance_surface(species_range, output_name, processing_resolution_data,
  keep = FALSE)

Arguments

species_range

Species range. Should be class sf.

output_name

Output name of created SAGA grid.

processing_resolution_data

csv with species names and processing resolutions.

Value

Raster

Examples

1
2
3
4
5
6
None.
library(Rahat); library(raster); library(tidyverse)

proc_res <- "Projects/Amphibians/Output/csv/Species_processing_resolution.csv" %>%
 milkunize2() %>%
 read_csv()

MirzaCengic/Amphibians documentation built on May 3, 2019, 3:38 p.m.