centroidDetection | R Documentation |
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 )
df |
data.frame of species occurrences |
xf |
character. column name in df containing the x coordinates |
yf |
character. column name in df containing the y coordinates |
idf |
character. Column with the taxon observation ID. |
.ntv.ctry |
character. ISO3 country codes where species are considered native |
.inv.ctry |
character. ISO3 country codes where species are considered alien |
.points.proj4string |
Proj4string argument. Coordinate reference system |
.r.env |
raster. Raster of environmental variables considered in the analysis |
.countries.shapefile |
spatialPolygonDataFrame of political divisions |
cfsf |
character. Column name of the .country spatialPolygonDataFrame indicating the country in ISO3 coding. |
method |
character. Vector with the methods to detect centroids |
do |
logical. Should range analysis be performed? Default TRUE |
verbose |
logical. Print messages? Default FALSE |
.c.field |
character. Country field in the species data.frame (df) |
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.
data.frame
Brian Maitner, Josep M Serra-Diaz, Cory Merow. Functions from CoordinateCleaner implemented by A Zizka (CoordinateCleaner)
cc_cap cc_cen
Other analysis:
.nearestcell3()
,
countryStatusRangeAnalysis()
,
duplicatesexcludeAnalysis()
,
geoEnvAccuracy()
,
humanDetection()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.