Detect records with low accuracy in space and time
geoEnvAccuracy(
df,
xf,
yf,
af,
dsf,
ef,
tf,
method = "all",
r.env,
accept.threshold.cell = 0.5,
accept.threshold.env = 0.5,
bearing.classes = 10,
distance.classes = 5,
env.quantiles = c(0.3, 0.7),
elev.threshold = 100,
raster.elevation = NULL,
verbose = FALSE,
do = TRUE,
doParallel = FALSE,
mc.cores = 2
)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 name in df containing the coordinate uncertainty value (in the same)
character. column name in df containing the dataset to which the record belongs to (e.g. Forest Inventory of Spain)
character. column name in df containing the registered elevation for the record.
character. column name in df containing the dataset with the date/time where the species is recorded
character. Vector of methods to be used. See details. Default 'all'
raster. Raster with environmental data
numeric. Acceptance threshold for how much percentage of the Area of uncertainty in the cell we want to accept. Default to 0.5
numeric. Default 0.5
numeric. Default to 10.
integer. Default to 5.
numeric. Default to c(0.3,0.7)
numeric. Default to 100
numeric. Default to 100
logical. Print messages? Default FALSE
logical. Should tests be performed? Default TRUE
logical. Should computation use parallel functions? Default FALSE
numeric. How many cores to use? (used when doParallel = TRUE). Default 2
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr), A Zizka (CoordinateCleaner package)
Geoenvironmental accuracy function will implement differnt methods to assess occurrence accuracy in environmnental and geographic space.
Current implmented methods are:
'lattice' : tests for lattice arrangement in occurrence datasets. Borrowed from cd_round .
'elevDiff' : assess the elevation difference between a given raster (or automatically downloaded fro SRTM), and the elevation recorded. If differences >elev.threshold then the record is considered as a low accuracy threshold
'noDate' : assess whether there is a date or timestamp information in the record.
'noDateFormatKnown' : assess whether the information in the timestamp agrees with different formatting of Dates.
'outDateRange' : (not implemented) assess whether the record is within a user specified time frame.
'percDiffCell' : assess whether the record may be falling in a different raster cell given an information of coordinate accuracy.
'envDeviation' : assess whether the climate in a given record may be outside of the interval 30th-70th (default values) for a given variable due to coordinate uncertainty.
cd_round
Other analysis:
.nearestcell3(),
centroidDetection(),
countryStatusRangeAnalysis(),
duplicatesexcludeAnalysis(),
humanDetection()
#see examples in vignetteXtra-occTest
Run the code above in your browser using DataLab