eooAoo: Area of occupancy (AOO) and extent of occurrence (EOO) in km2...

Description Usage Arguments Value Author(s) Examples

View source: R/eooAoo.R

Description

Calculates Area of occupancy (AOO) Area and extent of occurrence (EOO) in km2 using a species distribution model, an occurrences CSV file and categorize the species conservation status according IUCN parameters

Usage

1
eooAoo(species, Workspace, run_version)

Arguments

species

A name species compiled using '_' to call occurrences files from Workspace/parameter/occurrences folder

Workspace

A forder where the pipeline will be executed

run_version

The version of the analysis used (e.g 'v1')

Value

It returns a data frame file saved at gap_analysis folder with six columns:

taxon Species name
EOO Area km2 Area of occupancy in km^2 (AOO) for a given species
EOO Status IUCN conservation using (AOO)
AOO extent of occurrence (EOO) in km2 for a given species
AOO adjusted Minimum Minimum adjusted polygon for AOO for a given species
AOO Status IUCN conservation using (AOO)

Author(s)

Dan Carver

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
eooAoo('Cucurbita_digitata',Workspace,'v1')

Workspace  <-  'E:/CIAT/workspace/Workspace_test/workspace'
run_version  <- 'v1'
species_list <- c('Cucurbita_cordata',
 'Cucurbita_digitata',
 'Cucurbita_foetidissima',
 'Cucurbita_palmata')

 run_version <-'v1'
lapply(1:length(species_list),function(i){
   species <- species_list[[i]]
   x <- eooAoo(species,Workspace,run_version)
   print(paste0(species,' DONE!'))
})

dcarver1/gapAnalysisR documentation built on Feb. 29, 2020, 12:13 p.m.