ignorance_map: Ignorance map

Description Usage Arguments Value Examples

View source: R/ignorance_map.R

Description

A list of species potentially occurring within a study site, in which a probability of occurrence is computed for every taxon

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ignorance_map(
  data_flor,
  site,
  year_study = NULL,
  excl_areas = NULL,
  CRS.new = 3035,
  tau,
  cellsize,
  verbose = TRUE
)

Arguments

data_flor

dataframe having 5 columns, namely ‘Taxon’ (species identity), ‘Long’ (longitude coordinates), ‘Lat’ (latitude coordinates), ‘uncertainty’ (radius of uncertainty, in metres), and ‘year’ (year of the record)

site

a layer object of class ‘SpatialPolygonsDataFrame’ representing the study area, having CRS: +init=epsg:4326

year_study

the present-year in which you perform the analysis

excl_areas

a layer object of class ‘SpatialPolygonsDataFrame’ to delimit certainly unsuitable areas adjacent or within the study area, having CRS: +init=epsg:4326

CRS.new

the new Coordinate Reference System. Note: must be a projected CRS. Default = 3035.

tau

percentual value of taxa loss in 100 years time-span (see below for further details)

cellsize

the resolution of the ignorance map (in meters)

verbose

an optional logical value. If TRUE information on the evolution of the algorithm is printed. Default is TRUE (suggested for large dataset)

Value

A list with 4 objects:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data(floratus)
data(park)
data(unsuitablezone)

# Short example
set.seed(123)
mrfi <- ignorance_map(data_flor= floratus[sample(nrow(floratus), 2000), ],  site=park, tau= 80, cellsize= 2000)

# Extended example
mrfi <- ignorance_map(data_flor = floratus, excl_areas = unsuitablezone, site = park, tau = 20, cellsize = 2000)

## End(Not run)

interacquas/ignobioR documentation built on July 2, 2021, 3:13 a.m.