Learn R Programming

ConR (version 1.2.4)

AOO.computing: Area of occupancy

Description

Compute areas of occupancy (AOO) for multiple taxa in square kilometres

Usage

AOO.computing(XY, Cell_size_AOO = 2, nbe.rep.rast.AOO = 0, 
  parallel = FALSE, NbeCores = 2, show_progress=FALSE, export_shp=FALSE)

Arguments

XY

dataframe see Details

Cell_size_AOO

a numeric, value indicating the grid size in kilometres used for estimating Area of Occupancy. By default, equal to 2

nbe.rep.rast.AOO

a numeric, indicate the number of raster with random starting position for estimating the AOO. By default, it is 0 but some minimal translation of the raster are still done

parallel

a logical. Wether running in parallel. By default, it is FALSE

NbeCores

an integer. Register the number of cores for parallel execution. By default, it is 2

show_progress

a logical. Whether a bar showing progress in computation should be shown. By default, it is FALSE

export_shp

a logical. Whether a shapefile of occupied cells should be exported. By Wdefault, it is FALSE

Value

A vector

Details

Input as a dataframe should have the following structure:

It is mandatory to respect field positions, but field names do not matter

[,1] ddlat numeric, latitude (in decimal degrees)
[,2] ddlon numeric, longitude (in decimal degrees)
[,3] tax character or factor, optinal field with taxa names

References

Gaston & Fuller 2009 The sizes of species'geographic ranges, Journal of Applied Ecology, 49 1-9

Examples

Run this code
# NOT RUN {
data(dataset.ex)
# }
# NOT RUN {
AOO <- AOO.computing(dataset.ex)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab