View source: R/interpolation.R
interpolation | R Documentation |
Helper function to interpolate and prepare layer names
interpolation(ellipsoid_model, suitability_threshold = 5,
interpolation_values, barriers = NULL,
current_variables, projection_variables,
current_suitability, lgm_suitability,
out_format = "GTiff", output_directory)
ellipsoid_model |
object produced with the function
|
suitability_threshold |
(numeric) percentage of omission error to define what is not suitable. Default = 5. |
interpolation_values |
list of results from using the function
|
barriers |
SpatRaster representing dispersal barriers for the species.
This layer must have the same extent and projection than
|
current_variables |
SpatRaster of environmental variables representing "current" conditions (interglacial). |
projection_variables |
SpatRaster of environmental variables
representing the "Last Glacial Maximum" scenario. Variable names, projection
and extent of these layers must be the same than those in
|
current_suitability |
(character) name of the file representing values of suitability for the interglacial (current) scenario. |
lgm_suitability |
(character) name of the file representing values of suitability for the glacial (LGM) scenario. |
out_format |
(character) format of layers to be written in
|
output_directory |
(character) name of the folder where results will be written. This directory must exist. |
A vector with names of files corresponding to each interpolation scenario.
All layers resulting from interpolation will be written in
output_directory
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.