Identify occurrence records located near centroids.
centroidDetection(
df,
xf,
yf,
cf,
idf,
.ntv.ctry,
.inv.ctry,
.points.proj4string,
.r.env,
.countries.shapefile,
cfsf,
method = "all",
do = TRUE,
verbose = FALSE
)data.frame
data.frame of species occurrences
character. column name in df containing the x coordinates
character. column name in df containing the y coordinates
character. Column with the taxon observation ID.
character. ISO3 country codes where species are considered native
character. ISO3 country codes where species are considered alien
Proj4string argument. Coordinate reference system
raster. Raster of environmental variables considered in the analysis
spatialPolygonDataFrame of political divisions
character. Column name of the .country spatialPolygonDataFrame indicating the country in ISO3 coding.
character. Vector with the methods to detect centroids
logical. Should range analysis be performed? Default TRUE
logical. Print messages? Default FALSE
character. Country field in the species data.frame (df)
Brian Maitner, Josep M Serra-Diaz, Cory Merow. Functions from CoordinateCleaner implemented by A Zizka (CoordinateCleaner)
Current methods implemented for centroid detection are 'BIEN' (uses iterative procedure with threshold selection of distance to centroid)
, and method 'CoordinateCleaner' implementing methods used in CoordinateCleaner-package package.
cc_cap cc_cen
Other analysis:
.nearestcell3(),
countryStatusRangeAnalysis(),
duplicatesexcludeAnalysis(),
geoEnvAccuracy(),
humanDetection()