| countryStatusRangeAnalysis | R Documentation | 
Identify and filter species records based on countries where species is considered native or alien.
countryStatusRangeAnalysis( df, xf, yf, .ntv.ctry, .inv.ctry, .c.field, .points.proj4string, .countries.shapefile, cfsf, excludeUnknownRanges = FALSE, excludeNotmatchCountry = FALSE, doRangeAnalysis = TRUE, verbose = FALSE )
| df | data.frame of species occurrences | 
| xf | character. The field in the data.frame containing the x coordinates | 
| yf | character. The field in the data.frame containing the y coordinates | 
| .ntv.ctry | character. Native country in ISO3 coding | 
| .inv.ctry | character. Invasive country in ISO3 coding | 
| .c.field | character. Country field in the species data.frame (df) | 
| .points.proj4string | Proj4string for the occurrence data | 
| .countries.shapefile | spatialPolygonDataFrame of political divisions | 
| cfsf | character. Column name of the .country spatialPolygonDataFrame indicaing the country in ISO3 codeing. | 
| excludeUnknownRanges | logical. Should records be filtered if located in countries outside .ntv.ctry or .inv.ctry? Defalut FALSE | 
| excludeNotmatchCountry | Should records be if the reported country is different than the locatoin country? . Default FALSE | 
| doRangeAnalysis | logical. Should range analysis be performed? | 
| verbose | logical. Print messages? Default FALSE | 
It returns a list with two elements: stay (records that are excluded/filtered), continue (records that are not excluded from the filtering process)
list
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)
Other analysis: 
.nearestcell3(),
centroidDetection(),
duplicatesexcludeAnalysis(),
geoEnvAccuracy(),
humanDetection()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.