giveRegions | R Documentation |
Input checklist regions
giveRegions(regs, regs_native, regs_alien)
regs |
shapefile containing all regions of occurrence. |
regs_native |
shapefile containing regions where the species is native. |
regs_alien |
shapefile containing regions where the species is alien. |
This function returns a list containing three shapefiles derived by information supplied by GIFT. "regs" includes all the features corresponding to regions where the species has been listed as present. "regs_native" includes all the features corresponding to regions where the species has been listed as native. And "regs_alien" includes all the features corresponding to regions where the species has been listed as alien.
library(rworldmap) world <- getMap() regs <- world[c("Brazil","Argentina","Uruguay","Paraguay"),] regs_native <- world[c("Brazil","Paraguay"),] regs_alien <- world[c("Argentina"),] regs_list <- giveRegions(regs,regs_native,regs_alien)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.