Recording and monitoring invasive species is one critical step in the efforts to manage biological invasions, and with this purpose, ground observations are often used in species distribution models to produce current and potential distribution maps. However, field sampling is susceptible to bias due to factors such as sampling effort, species detectability, environmental heterogeneity, species identification, among others. This is why, combining the knowledge on the ecology of the species with an informed sampling design (e.g. sampling locations and effort) is of paramount importance to accurately record species occurrences.
Furthermore, at the modelling stage, data on the locations where the species is absent is key to accurately tune in the distribution models (SDM). One key assumption in SDMs is that species are at equilibrium with the environment, that is, the species has already occupied all the suitable habitat. That is not the case for invasive species where the distribution depends on the time since invasion and its rate of colonization and establishment, and thus the importance of a careful selection of absences to avoid the areas of suitable habitat not yet colonized by the invader (known as contingent absences) (Lobo et al. 2010).
In this tutorial, we will work with theiSDM
R package (CRAN site), developed as part of the DIARS project and presented in Hattab et al. 2017, with the aim of providing tools to improve sampling design and absences selection using environmental factors derived from LiDAR data.
This tutorial is divided in two sections:
1. Performing an environmental systemic sampling design
2. Calculating the likelihood of absences in suitable areas
You can download the dataset for this tutorial from HERE. The dataset contains a set of raster files with 5 environmental variables derived from LiDAR and a table of species presence/absence.
Let’s start by installing and loading the libraries that we are going to be using in this tutorial.
install.packages("devtools", "iSDM")
library(iSDM)
library(raster)
Set up the working directory and import the raster files with environmental variables of the study area:
library(raster)
setwd("/home/garzonc/Desktop/DIARS")
files <- list.files("/home/garzonc/Desktop/DIARS/Rasters1/", full.names = TRUE)
envData <- stack(files)
plot(envData)
After importing the raster layers you can use the function eSample
to perform an environmental systemic sampling design. Before running the line is important to determine the number of sampling points needed (nExpect), the number of dimensions (maximum three) to be used in the ordination analysis, and the upper (upperLim) and lower (lowerLim) limits of the quantile probability (0 to 1). NOTE: You can change the probabilities and the number of samples to explore the combination that results in a robust sampling design for the study area and the focal species.
library(iSDM)
MySampling <- eSample(envData, nExpect = 50, plot = TRUE, saveShape = TRUE,
lowerLim = 0.001, upperLim = 0.999, nf = 3)
## [1] "-----------------Optimization of the 3 D grid size---------------------"
##
|
| | 0%
|
|=============================================== | 72%
|
|======================================================= | 84%
## [1] "-----------------51 points found---------------------"