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
)list
data.frame of species occurrences
character. The field in the data.frame containing the x coordinates
character. The field in the data.frame containing the y coordinates
character. Native country in ISO3 coding
character. Invasive country in ISO3 coding
character. Country field in the species data.frame (df)
Proj4string for the occurrence data
spatialPolygonDataFrame of political divisions
character. Column name of the .country spatialPolygonDataFrame indicaing the country in ISO3 codeing.
logical. Should records be filtered if located in countries outside .ntv.ctry or .inv.ctry? Defalut FALSE
Should records be if the reported country is different than the locatoin country? . Default FALSE
logical. Should range analysis be performed?
logical. Print messages? Default FALSE
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)
It returns a list with two elements: stay (records that are excluded/filtered), continue (records that are not excluded from the filtering process)
Other analysis:
.nearestcell3(),
centroidDetection(),
duplicatesexcludeAnalysis(),
geoEnvAccuracy(),
humanDetection()